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

9 lines
158 B
Solidity

contract C {
event E();
function f() public pure {
revert E();
}
}
// ----
// TypeError 1885: (74-75='E'): Expression has to be an error.