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

12 lines
203 B
Solidity
Raw Normal View History

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