diff options
author | chriseth <chris@ethereum.org> | 2017-05-03 17:30:40 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-05-03 17:30:40 +0800 |
commit | f3bb7350f18fc083a49f72ec465f819e80f41d6f (patch) | |
tree | d42bd37baecf419a90df823a219dc860b3517329 | |
parent | 230f51efb7da7cc4f8e03027b958aee8f3346914 (diff) | |
download | dexon-solidity-f3bb7350f18fc083a49f72ec465f819e80f41d6f.tar dexon-solidity-f3bb7350f18fc083a49f72ec465f819e80f41d6f.tar.gz dexon-solidity-f3bb7350f18fc083a49f72ec465f819e80f41d6f.tar.bz2 dexon-solidity-f3bb7350f18fc083a49f72ec465f819e80f41d6f.tar.lz dexon-solidity-f3bb7350f18fc083a49f72ec465f819e80f41d6f.tar.xz dexon-solidity-f3bb7350f18fc083a49f72ec465f819e80f41d6f.tar.zst dexon-solidity-f3bb7350f18fc083a49f72ec465f819e80f41d6f.zip |
Fix tests.
-rw-r--r-- | test/libsolidity/SolidityNameAndTypeResolution.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/libsolidity/SolidityNameAndTypeResolution.cpp b/test/libsolidity/SolidityNameAndTypeResolution.cpp index fd50609d..3a9f7295 100644 --- a/test/libsolidity/SolidityNameAndTypeResolution.cpp +++ b/test/libsolidity/SolidityNameAndTypeResolution.cpp @@ -3961,6 +3961,8 @@ BOOST_AUTO_TEST_CASE(rational_unary_operation) function f() { ufixed8x16 a = 3.25; fixed8x16 b = -3.25; + a; + b; } } )"; @@ -3979,6 +3981,7 @@ BOOST_AUTO_TEST_CASE(rational_unary_operation) contract test { function f(uint x) { uint y = +x; + y; } } )"; |