aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-12-05 18:44:28 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-12-06 03:27:12 +0800
commitbc875f6b9c140d351ec8ae96d2c8e29979017d57 (patch)
tree8e8fc06a59cf7e6aebe26f95cbf03a95eff6766b /test
parent37b66616fbee4301f6573cd62c6b581481d9787a (diff)
downloaddexon-solidity-bc875f6b9c140d351ec8ae96d2c8e29979017d57.tar.gz
dexon-solidity-bc875f6b9c140d351ec8ae96d2c8e29979017d57.tar.zst
dexon-solidity-bc875f6b9c140d351ec8ae96d2c8e29979017d57.zip
Warn for assembly labels too
Diffstat (limited to 'test')
-rw-r--r--test/libsolidity/InlineAssembly.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/libsolidity/InlineAssembly.cpp b/test/libsolidity/InlineAssembly.cpp
index e9fb8431..506721c1 100644
--- a/test/libsolidity/InlineAssembly.cpp
+++ b/test/libsolidity/InlineAssembly.cpp
@@ -714,6 +714,7 @@ BOOST_AUTO_TEST_CASE(jump_warning)
CHECK_PARSE_WARNING("{ 1 2 jumpi }", Warning, "Jump instructions");
CHECK_PARSE_WARNING("{ a: jump(a) }", Warning, "Jump instructions");
CHECK_PARSE_WARNING("{ a: jumpi(a, 2) }", Warning, "Jump instructions");
+ CHECK_PARSE_WARNING("{ a: }", Warning, "Jump instructions");
}
BOOST_AUTO_TEST_SUITE_END()