diff options
author | Lu Guanqun <guanqun.lu@gmail.com> | 2016-01-15 10:19:11 +0800 |
---|---|---|
committer | Lu Guanqun <guanqun.lu@gmail.com> | 2016-01-23 01:14:01 +0800 |
commit | 5840a3513f6af498a1dda3aa6670d1f3c6efefb1 (patch) | |
tree | be58757f64a870d275b0630e5c27281bba912661 /test/libsolidity/SolidityParser.cpp | |
parent | d36537e73720f181fae3e3b82a3d751d27782ca1 (diff) | |
download | dexon-solidity-5840a3513f6af498a1dda3aa6670d1f3c6efefb1.tar.gz dexon-solidity-5840a3513f6af498a1dda3aa6670d1f3c6efefb1.tar.zst dexon-solidity-5840a3513f6af498a1dda3aa6670d1f3c6efefb1.zip |
cond-expr: add more unit tests
Diffstat (limited to 'test/libsolidity/SolidityParser.cpp')
-rw-r--r-- | test/libsolidity/SolidityParser.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/test/libsolidity/SolidityParser.cpp b/test/libsolidity/SolidityParser.cpp index 7ddfdf5a..055fae49 100644 --- a/test/libsolidity/SolidityParser.cpp +++ b/test/libsolidity/SolidityParser.cpp @@ -1178,20 +1178,6 @@ BOOST_AUTO_TEST_CASE(conditional_with_assignment) BOOST_CHECK(successParse(text)); } -BOOST_AUTO_TEST_CASE(conditional_as_left_value) -{ - char const* text = R"( - contract A { - function f() { - uint x; - uint y; - (true ? x : y) = 3; - } - } - )"; - BOOST_CHECK(successParse(text)); -} - BOOST_AUTO_TEST_SUITE_END() } |