aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SolidityEndToEndTest.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-04-28 19:09:48 +0800
committerchriseth <chris@ethereum.org>2017-04-28 19:14:52 +0800
commit28f10f4783bd4365654191740069a7112be03d92 (patch)
tree0a6900822f7c838ba59a0916c90b54c7e7890441 /test/libsolidity/SolidityEndToEndTest.cpp
parentf9bccab7b744c786f1eb12fad5cc0e499d0f1075 (diff)
downloaddexon-solidity-28f10f4783bd4365654191740069a7112be03d92.tar.gz
dexon-solidity-28f10f4783bd4365654191740069a7112be03d92.tar.zst
dexon-solidity-28f10f4783bd4365654191740069a7112be03d92.zip
Remove error label / invalid jump label.
Diffstat (limited to 'test/libsolidity/SolidityEndToEndTest.cpp')
-rw-r--r--test/libsolidity/SolidityEndToEndTest.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/test/libsolidity/SolidityEndToEndTest.cpp b/test/libsolidity/SolidityEndToEndTest.cpp
index f2f4b8b0..1ff0b6cb 100644
--- a/test/libsolidity/SolidityEndToEndTest.cpp
+++ b/test/libsolidity/SolidityEndToEndTest.cpp
@@ -9126,21 +9126,6 @@ BOOST_AUTO_TEST_CASE(packed_storage_overflow)
BOOST_CHECK(callContractFunction("f()") == encodeArgs(u256(0x1234), u256(0), u256(0), u256(0xfffe)));
}
-BOOST_AUTO_TEST_CASE(inline_assembly_invalidjumplabel)
-{
- char const* sourceCode = R"(
- contract C {
- function f() {
- assembly {
- jump(invalidJumpLabel)
- }
- }
- }
- )";
- compileAndRun(sourceCode, 0, "C");
- BOOST_CHECK(callContractFunction("f()") == encodeArgs());
-}
-
BOOST_AUTO_TEST_CASE(contracts_separated_with_comment)
{
char const* sourceCode = R"(