Rename ErrorTag to invalidJumpLabel in inline assembly

This commit is contained in:
Alex Beregszaszi
2016-11-15 10:30:33 +00:00
parent 702ab4cb4f
commit ae8403ed08
5 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -7692,13 +7692,13 @@ 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_errortag)
BOOST_AUTO_TEST_CASE(inline_assembly_invalidjumplabel)
{
char const* sourceCode = R"(
contract C {
function f() {
assembly {
jump(ErrorTag)
jump(invalidJumpLabel)
}
}
}