solidity/test/libsolidity/syntaxTests/errors/use_without_parentheses.sol
2021-02-01 18:26:31 +01:00

8 lines
124 B
Solidity

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