solidity/test/libsolidity/semanticTests/functionCall/transaction_status.sol
2020-10-22 19:25:55 +02:00

12 lines
224 B
Solidity

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