diff options
author | Lu Guanqun <guanqun.lu@gmail.com> | 2015-12-23 20:16:50 +0800 |
---|---|---|
committer | Lu Guanqun <guanqun.lu@gmail.com> | 2016-01-23 01:14:00 +0800 |
commit | 985744545a9cae9c92ba535eef1d7ecd86ba846f (patch) | |
tree | d6fe183c524370c808eee24d532fafaefee39a37 | |
parent | 9cd96222dae55173d3afc17b3cf7a4701edae156 (diff) | |
download | dexon-solidity-985744545a9cae9c92ba535eef1d7ecd86ba846f.tar.gz dexon-solidity-985744545a9cae9c92ba535eef1d7ecd86ba846f.tar.zst dexon-solidity-985744545a9cae9c92ba535eef1d7ecd86ba846f.zip |
[cond-expr] add another parser expression
-rw-r--r-- | test/libsolidity/SolidityParser.cpp | 1 |
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; } } )"; |