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