solidity/test/libsolidity/semanticTests/errors/simple.sol
2023-05-11 10:56:55 -05:00

9 lines
148 B
Solidity

error E(uint a, uint b);
contract C {
function f() public pure {
revert E(2, 7);
}
}
// ----
// f() -> FAILURE, hex"85208890", 2, 7