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

10 lines
172 B
Solidity
Raw Normal View History

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