diff options
author | Christian Parpart <christian@parpart.family> | 2018-08-03 22:13:52 +0800 |
---|---|---|
committer | Christian Parpart <christian@ethereum.org> | 2018-08-08 19:38:46 +0800 |
commit | b9222808f61e00833f8c11cd196cafb50ec9e1b9 (patch) | |
tree | 93f7552a8effdb5e3ab3a240f4337edd3f8f249c /test/libsolidity/SolidityEndToEndTest.cpp | |
parent | 09a36cba0223c16248335703412cee019c7aa59f (diff) | |
download | dexon-solidity-b9222808f61e00833f8c11cd196cafb50ec9e1b9.tar.gz dexon-solidity-b9222808f61e00833f8c11cd196cafb50ec9e1b9.tar.zst dexon-solidity-b9222808f61e00833f8c11cd196cafb50ec9e1b9.zip |
Cleanup & polish numbers-with-underscores parsing, also improving tests.
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 12da1fa1..3fd610a0 100644 --- a/test/libsolidity/SolidityEndToEndTest.cpp +++ b/test/libsolidity/SolidityEndToEndTest.cpp @@ -12840,7 +12840,7 @@ BOOST_AUTO_TEST_CASE(test_underscore_in_hex) { char const* sourceCode = R"( contract test { - function f(bool cond) returns (uint) { + function f(bool cond) public pure returns (uint) { uint32 x = 0x1234_ab; uint y = 0x1234_abcd_1234; return cond ? x : y; |