mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
13 lines
237 B
Solidity
13 lines
237 B
Solidity
error E(string a, uint[] b);
|
|
contract C {
|
|
uint[] x;
|
|
function f() public {
|
|
x.push(7);
|
|
revert E("abc", x);
|
|
}
|
|
}
|
|
// ====
|
|
// compileViaYul: also
|
|
// ----
|
|
// f() -> FAILURE, hex"59e4d4df", 0x40, 0x80, 3, "abc", 1, 7
|