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

8 lines
174 B
Solidity

error E1();
error E2();
function f() pure {
revert(E1);
}
// ----
// TypeError 4423: (55-57): Expected error instance or string. Did you forget the "()" after the error?