aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-05-03 17:30:40 +0800
committerchriseth <chris@ethereum.org>2017-05-03 17:30:40 +0800
commitf3bb7350f18fc083a49f72ec465f819e80f41d6f (patch)
treed42bd37baecf419a90df823a219dc860b3517329
parent230f51efb7da7cc4f8e03027b958aee8f3346914 (diff)
downloaddexon-solidity-f3bb7350f18fc083a49f72ec465f819e80f41d6f.tar.gz
dexon-solidity-f3bb7350f18fc083a49f72ec465f819e80f41d6f.tar.zst
dexon-solidity-f3bb7350f18fc083a49f72ec465f819e80f41d6f.zip
Fix tests.
-rw-r--r--test/libsolidity/SolidityNameAndTypeResolution.cpp3
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;
}
}
)";