mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #3553 from ethereum/simpleOptimizerTestFix
Provide input for two optimizer tests.
This commit is contained in:
commit
dcc4083b23
@ -175,7 +175,7 @@ BOOST_AUTO_TEST_CASE(constant_folding_both_sides)
|
||||
}
|
||||
})";
|
||||
compileBothVersions(sourceCode);
|
||||
compareVersions("f(uint256)");
|
||||
compareVersions("f(uint256)", 7);
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE(storage_access)
|
||||
@ -190,7 +190,7 @@ BOOST_AUTO_TEST_CASE(storage_access)
|
||||
}
|
||||
)";
|
||||
compileBothVersions(sourceCode);
|
||||
compareVersions("f(uint256)");
|
||||
compareVersions("f(uint256)", 7);
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE(array_copy)
|
||||
|
Loading…
Reference in New Issue
Block a user