diff options
author | Jason Cobb <jason.e.cobb@gmail.com> | 2018-05-31 05:02:47 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-06-25 22:17:50 +0800 |
commit | 98c9ca257568e8f281a5d8857a45ef2c8aef2c77 (patch) | |
tree | 728ebe462c3ec65a90e44d7c3d6558a03418de6b /test/libsolidity/SolidityExpressionCompiler.cpp | |
parent | 48b003d4d4e4ebddf8922fb06a47c1634203d0bc (diff) | |
download | dexon-solidity-98c9ca257568e8f281a5d8857a45ef2c8aef2c77.tar.gz dexon-solidity-98c9ca257568e8f281a5d8857a45ef2c8aef2c77.tar.zst dexon-solidity-98c9ca257568e8f281a5d8857a45ef2c8aef2c77.zip |
Update tests for strict address literals
Diffstat (limited to 'test/libsolidity/SolidityExpressionCompiler.cpp')
-rw-r--r-- | test/libsolidity/SolidityExpressionCompiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityExpressionCompiler.cpp b/test/libsolidity/SolidityExpressionCompiler.cpp index ad26ce6b..ce8f4fe4 100644 --- a/test/libsolidity/SolidityExpressionCompiler.cpp +++ b/test/libsolidity/SolidityExpressionCompiler.cpp @@ -490,7 +490,7 @@ BOOST_AUTO_TEST_CASE(intermediately_overflowing_literals) // have been applied char const* sourceCode = R"( contract test { - function f() { var x = (0xffffffffffffffffffffffffffffffffffffffff * 0xffffffffffffffffffffffffff01) & 0xbf; } + function f() { var x = (0x00ffffffffffffffffffffffffffffffffffffffff * 0xffffffffffffffffffffffffff01) & 0xbf; } } )"; bytes code = compileFirstExpression(sourceCode); |