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

9 lines
119 B
Solidity

contract C {
event A();
function f() {
emit A;
}
}
// ----
// ParserError 2314: (49-50): Expected '(' but got ';'