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

13 lines
227 B
Solidity

contract test {
function f() public { }
function g() public { revert(); }
function h() public { assert(false); }
}
// ====
// compileViaYul: also
// compileToEwasm: also
// ----
// f() ->
// g() -> FAILURE
// h() -> FAILURE