From 739dabff8ba8b4a91100c1612a0ac2faf0ef78b5 Mon Sep 17 00:00:00 2001 From: chriseth Date: Fri, 11 Nov 2016 15:24:08 +0100 Subject: Fix tests. --- test/libsolidity/SolidityOptimizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/libsolidity/SolidityOptimizer.cpp') diff --git a/test/libsolidity/SolidityOptimizer.cpp b/test/libsolidity/SolidityOptimizer.cpp index 976976b2..4698e88c 100644 --- a/test/libsolidity/SolidityOptimizer.cpp +++ b/test/libsolidity/SolidityOptimizer.cpp @@ -370,7 +370,7 @@ BOOST_AUTO_TEST_CASE(successor_not_found_bug) // This bug was caused because MSVC chose to use the u256->bool conversion // instead of u256->unsigned char const* sourceCode = R"( - contract greeter { function greeter() {} } + contract greeter { function greeter() { uint x = 2; x ++; } } )"; compileBothVersions(sourceCode); } -- cgit