aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SolidityParser.cpp
diff options
context:
space:
mode:
authorLu Guanqun <guanqun.lu@gmail.com>2016-01-15 10:19:11 +0800
committerLu Guanqun <guanqun.lu@gmail.com>2016-01-23 01:14:01 +0800
commit5840a3513f6af498a1dda3aa6670d1f3c6efefb1 (patch)
treebe58757f64a870d275b0630e5c27281bba912661 /test/libsolidity/SolidityParser.cpp
parentd36537e73720f181fae3e3b82a3d751d27782ca1 (diff)
downloaddexon-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.cpp14
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()
}