solidity/test/libsolidity/syntaxTests/revertStatement/non_called.sol

7 lines
117 B
Solidity
Raw Normal View History

2021-02-24 09:55:49 +00:00
error E();
function f() public pure {
revert E;
}
// ----
// ParserError 2314: (50-51): Expected '(' but got ';'