aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SolidityParser.cpp
diff options
context:
space:
mode:
authorLu Guanqun <guanqun.lu@gmail.com>2016-01-04 16:11:13 +0800
committerLu Guanqun <guanqun.lu@gmail.com>2016-01-04 16:11:43 +0800
commit208429644dbf646e90107447b148e7edb6c36512 (patch)
treef046ff2e8c19e016261beba391a074bf41cbc1c4 /test/libsolidity/SolidityParser.cpp
parent568da1136992f8f188ba419bef814659f7a7794a (diff)
downloaddexon-solidity-208429644dbf646e90107447b148e7edb6c36512.tar.gz
dexon-solidity-208429644dbf646e90107447b148e7edb6c36512.tar.zst
dexon-solidity-208429644dbf646e90107447b148e7edb6c36512.zip
add a test case for decayed tuple expression as left value
Diffstat (limited to 'test/libsolidity/SolidityParser.cpp')
-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 5c5a9f68..8e0bf77e 100644
--- a/test/libsolidity/SolidityParser.cpp
+++ b/test/libsolidity/SolidityParser.cpp
@@ -1008,6 +1008,7 @@ BOOST_AUTO_TEST_CASE(tuples)
var (b,) = (1,);
var (c,d) = (1, 2 + a);
var (e,) = (1, 2, b);
+ (a) = 3;
}
}
)";