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

9 lines
115 B
Solidity

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