2021-01-28 11:56:22 +00:00
|
|
|
error E(uint a, uint b);
|
|
|
|
contract C {
|
|
|
|
function f() public pure {
|
|
|
|
revert E(2, 7);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ====
|
|
|
|
// compileViaYul: also
|
2021-04-23 15:59:01 +00:00
|
|
|
// compileToEwasm: also
|
2021-01-28 11:56:22 +00:00
|
|
|
// ----
|
|
|
|
// f() -> FAILURE, hex"85208890", 2, 7
|