[cond-expr] add another parser expression

This commit is contained in:
Lu Guanqun
2016-01-22 17:14:00 +00:00
parent 9cd96222da
commit 985744545a
+1
View File
@@ -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;
}
}
)";