aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SolidityParser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/libsolidity/SolidityParser.cpp')
-rw-r--r--test/libsolidity/SolidityParser.cpp1
1 files changed, 1 insertions, 0 deletions
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;
}
}
)";