From f3bb7350f18fc083a49f72ec465f819e80f41d6f Mon Sep 17 00:00:00 2001 From: chriseth Date: Wed, 3 May 2017 11:30:40 +0200 Subject: [PATCH] Fix tests. --- test/libsolidity/SolidityNameAndTypeResolution.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/libsolidity/SolidityNameAndTypeResolution.cpp b/test/libsolidity/SolidityNameAndTypeResolution.cpp index fd50609d7..3a9f72953 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; } } )";