solidity/test/libsolidity/syntaxTests/errors/nested_invocation4.sol
2021-02-11 14:18:04 +01:00

8 lines
143 B
Solidity

error E1(uint);
error E2();
function f() pure {
revert(E1([E2()]));
}
// ----
// TypeError 5604: (63-67): Array component cannot be empty.