diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/libsolidity/SolidityOptimizer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/libsolidity/SolidityOptimizer.cpp b/test/libsolidity/SolidityOptimizer.cpp index 90caaab0..00a636fd 100644 --- a/test/libsolidity/SolidityOptimizer.cpp +++ b/test/libsolidity/SolidityOptimizer.cpp @@ -1308,18 +1308,18 @@ BOOST_AUTO_TEST_CASE(cse_sub_zero) { checkCSE({ u256(0), - u256(5), + Instruction::DUP2, Instruction::SUB }, { u256(5) }); checkCSE({ - u256(5), + Instruction::DUP2, u256(0), Instruction::SUB }, { - u256(5), + Instruction::DUP2, u256(0), Instruction::SUB }); |