solidity/test/libsolidity/semanticTests/functionCall/transaction_status.sol

13 lines
248 B
Solidity
Raw Normal View History

contract test {
function f() public { }
function g() public { revert(); }
function h() public { assert(false); }
}
// ====
// compileToEwasm: also
// compileViaYul: also
// ----
// f() ->
// g() -> FAILURE
2020-10-13 11:28:39 +00:00
// h() -> FAILURE, hex"4e487b71", 0x01