solidity/test/libsolidity/syntaxTests/parsing/emit_without_event.sol

9 lines
114 B
Solidity
Raw Normal View History

2018-05-02 19:49:59 +00:00
contract C {
event A();
function f() {
emit A;
}
}
// ----
2018-05-02 18:49:36 +00:00
// ParserError: (49-49): Expected '(' but got ';'