From 985744545a9cae9c92ba535eef1d7ecd86ba846f Mon Sep 17 00:00:00 2001 From: Lu Guanqun Date: Wed, 23 Dec 2015 12:16:50 +0000 Subject: [cond-expr] add another parser expression --- test/libsolidity/SolidityParser.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'test/libsolidity/SolidityParser.cpp') diff --git a/test/libsolidity/SolidityParser.cpp b/test/libsolidity/SolidityParser.cpp index aeaf2baf..7ddfdf5a 100644 --- a/test/libsolidity/SolidityParser.cpp +++ b/test/libsolidity/SolidityParser.cpp @@ -1171,6 +1171,7 @@ BOOST_AUTO_TEST_CASE(conditional_with_assignment) function f() { uint y = 1; uint x = 3 < 0 ? x = 3 : 6; + true ? x = 3 : 4; } } )"; -- cgit v1.2.3