diff options
author | chriseth <chris@ethereum.org> | 2018-06-21 19:57:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-21 19:57:59 +0800 |
commit | 0d1047181d22c049aa5573acf9826d1701dd66ae (patch) | |
tree | 2e0295bb85a9a24b97ee6a7c3316d82369805ada /test/libsolidity/SolidityEndToEndTest.cpp | |
parent | 7e4bd3e3468ec1d240068fde5b45f380cdef411c (diff) | |
parent | 8862b3092bcdbcb8314ec27e2b11bf25fcc6346a (diff) | |
download | dexon-solidity-0d1047181d22c049aa5573acf9826d1701dd66ae.tar dexon-solidity-0d1047181d22c049aa5573acf9826d1701dd66ae.tar.gz dexon-solidity-0d1047181d22c049aa5573acf9826d1701dd66ae.tar.bz2 dexon-solidity-0d1047181d22c049aa5573acf9826d1701dd66ae.tar.lz dexon-solidity-0d1047181d22c049aa5573acf9826d1701dd66ae.tar.xz dexon-solidity-0d1047181d22c049aa5573acf9826d1701dd66ae.tar.zst dexon-solidity-0d1047181d22c049aa5573acf9826d1701dd66ae.zip |
Merge pull request #4306 from ethereum/remove_050_workaround_scoping
[BREAKING] C99 scoping rules by default (remove 050 workaround)
Diffstat (limited to 'test/libsolidity/SolidityEndToEndTest.cpp')
-rw-r--r-- | test/libsolidity/SolidityEndToEndTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityEndToEndTest.cpp b/test/libsolidity/SolidityEndToEndTest.cpp index 2a24a1e3..65473f0d 100644 --- a/test/libsolidity/SolidityEndToEndTest.cpp +++ b/test/libsolidity/SolidityEndToEndTest.cpp @@ -5011,7 +5011,7 @@ BOOST_AUTO_TEST_CASE(byte_array_push_transition) if (data.length != i) return 0x1000 + i; if (data[data.length - 1] != byte(i)) return i; } - for (i = 1; i < 40; i++) + for (uint8 i = 1; i < 40; i++) if (data[i - 1] != byte(i)) return 0x1000000 + i; return 0; } |