diff options
author | chriseth <chris@ethereum.org> | 2017-04-28 19:09:48 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-04-28 19:14:52 +0800 |
commit | 28f10f4783bd4365654191740069a7112be03d92 (patch) | |
tree | 0a6900822f7c838ba59a0916c90b54c7e7890441 /test/libsolidity/SolidityEndToEndTest.cpp | |
parent | f9bccab7b744c786f1eb12fad5cc0e499d0f1075 (diff) | |
download | dexon-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.cpp | 15 |
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"( |