aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity
diff options
context:
space:
mode:
authorLu Guanqun <guanqun.lu@gmail.com>2015-12-23 20:16:50 +0800
committerLu Guanqun <guanqun.lu@gmail.com>2016-01-23 01:14:00 +0800
commit985744545a9cae9c92ba535eef1d7ecd86ba846f (patch)
treed6fe183c524370c808eee24d532fafaefee39a37 /test/libsolidity
parent9cd96222dae55173d3afc17b3cf7a4701edae156 (diff)
downloaddexon-solidity-985744545a9cae9c92ba535eef1d7ecd86ba846f.tar.gz
dexon-solidity-985744545a9cae9c92ba535eef1d7ecd86ba846f.tar.zst
dexon-solidity-985744545a9cae9c92ba535eef1d7ecd86ba846f.zip
[cond-expr] add another parser expression
Diffstat (limited to 'test/libsolidity')
-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;
}
}
)";