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

9 lines
154 B
Solidity
Raw Normal View History

2021-02-24 09:55:49 +00:00
contract C {
event E();
function f() public pure {
revert E();
}
}
// ----
// TypeError 1885: (74-75): Expression has to be an error.