solidity/test/libsolidity/syntaxTests/parsing/emit_without_event.sol
2020-01-08 16:12:06 +01:00

9 lines
114 B
Solidity

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