aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/InlineAssembly.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2016-10-20 19:30:10 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2016-11-15 18:30:33 +0800
commitbee926bf3f2d9f56103547d1add5463ab21c5f8e (patch)
tree358a8028eaca6ad75ac0aa9cb00d31cfcf7308c6 /test/libsolidity/InlineAssembly.cpp
parent91367234d946266b73a5ace8071b0fd931f3a74b (diff)
downloaddexon-solidity-bee926bf3f2d9f56103547d1add5463ab21c5f8e.tar.gz
dexon-solidity-bee926bf3f2d9f56103547d1add5463ab21c5f8e.tar.zst
dexon-solidity-bee926bf3f2d9f56103547d1add5463ab21c5f8e.zip
Add tests for the ErrorTag
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 a80a44a2..a26e9470 100644
--- a/test/libsolidity/InlineAssembly.cpp
+++ b/test/libsolidity/InlineAssembly.cpp
@@ -177,6 +177,11 @@ BOOST_AUTO_TEST_CASE(imbalanced_stack)
BOOST_CHECK(successAssemble("{ let x := 4 7 add }", false));
}
+BOOST_AUTO_TEST_CASE(error_tag)
+{
+ BOOST_CHECK(successAssemble("{ ErrorTag }"));
+}
+
BOOST_AUTO_TEST_SUITE_END()
}