solidity/test/libsolidity/syntaxTests/parsing/emit_without_event.sol
2018-05-09 14:08:25 +02:00

9 lines
114 B
Solidity

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