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