solidity/test/libsolidity/semanticTests/functionCall/transaction_status.sol
2022-05-19 20:23:28 +02:00

12 lines
225 B
Solidity

contract test {
function f() public { }
function g() public { revert(); }
function h() public { assert(false); }
}
// ====
// compileToEwasm: also
// ----
// f() ->
// g() -> FAILURE
// h() -> FAILURE, hex"4e487b71", 0x01