solidity/test/libsolidity/syntaxTests/revertStatement/non_called.sol
2022-04-01 23:41:18 -05:00

7 lines
121 B
Solidity

error E();
function f() public pure {
revert E;
}
// ----
// ParserError 2314: (50-51=';'): Expected '(' but got ';'