[cond-expr] add another parser expression

This commit is contained in:
Lu Guanqun 2015-12-23 12:16:50 +00:00
parent 9cd96222da
commit 985744545a

View File

@ -1171,6 +1171,7 @@ BOOST_AUTO_TEST_CASE(conditional_with_assignment)
function f() { function f() {
uint y = 1; uint y = 1;
uint x = 3 < 0 ? x = 3 : 6; uint x = 3 < 0 ? x = 3 : 6;
true ? x = 3 : 4;
} }
} }
)"; )";