aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2016-10-12 07:00:28 +0800
committerGitHub <noreply@github.com>2016-10-12 07:00:28 +0800
commit48ac9706770f72fe95848656147131c4ea644a77 (patch)
treed76a715155a177df2a9136be4b6a699ea0663688 /test
parent821fe6e916deb096009b54f4a228b7a8a596933a (diff)
parentd0791fb365bd90c8d4b4f3ba6f83b126087d9a8e (diff)
downloaddexon-solidity-48ac9706770f72fe95848656147131c4ea644a77.tar
dexon-solidity-48ac9706770f72fe95848656147131c4ea644a77.tar.gz
dexon-solidity-48ac9706770f72fe95848656147131c4ea644a77.tar.bz2
dexon-solidity-48ac9706770f72fe95848656147131c4ea644a77.tar.lz
dexon-solidity-48ac9706770f72fe95848656147131c4ea644a77.tar.xz
dexon-solidity-48ac9706770f72fe95848656147131c4ea644a77.tar.zst
dexon-solidity-48ac9706770f72fe95848656147131c4ea644a77.zip
Merge pull request #1169 from ethereum/inline-assembly-tags
Fix assignment after tags in inline assembly
Diffstat (limited to 'test')
-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()
}