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

8 lines
124 B
Solidity

error E1();
error E2();
function f() pure {
revert(E1);
}
// ----
// TypeError 4423: (55-57): Expected error or string.