aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/InlineAssembly.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2016-10-06 21:32:11 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2016-10-11 19:28:49 +0800
commitd0791fb365bd90c8d4b4f3ba6f83b126087d9a8e (patch)
tree111ba9c56a3a01bde39447837da8423019f9fce3 /test/libsolidity/InlineAssembly.cpp
parentd3f410d8a89aaa042ff264d7a0ea79184e01abab (diff)
downloaddexon-solidity-d0791fb365bd90c8d4b4f3ba6f83b126087d9a8e.tar
dexon-solidity-d0791fb365bd90c8d4b4f3ba6f83b126087d9a8e.tar.gz
dexon-solidity-d0791fb365bd90c8d4b4f3ba6f83b126087d9a8e.tar.bz2
dexon-solidity-d0791fb365bd90c8d4b4f3ba6f83b126087d9a8e.tar.lz
dexon-solidity-d0791fb365bd90c8d4b4f3ba6f83b126087d9a8e.tar.xz
dexon-solidity-d0791fb365bd90c8d4b4f3ba6f83b126087d9a8e.tar.zst
dexon-solidity-d0791fb365bd90c8d4b4f3ba6f83b126087d9a8e.zip
Fix assignment after tags in inline assembly
Diffstat (limited to 'test/libsolidity/InlineAssembly.cpp')
-rw-r--r--test/libsolidity/InlineAssembly.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/libsolidity/InlineAssembly.cpp b/test/libsolidity/InlineAssembly.cpp
index 136d72e6..45eceb34 100644
--- a/test/libsolidity/InlineAssembly.cpp
+++ b/test/libsolidity/InlineAssembly.cpp
@@ -157,6 +157,11 @@ BOOST_AUTO_TEST_CASE(oversize_string_literals)
BOOST_CHECK(!successAssemble("{ let x := \"123456789012345678901234567890123\" }"));
}
+BOOST_AUTO_TEST_CASE(assignment_after_tag)
+{
+ BOOST_CHECK(successParse("{ let x := 1 { tag: =: x } }"));
+}
+
BOOST_AUTO_TEST_SUITE_END()
}