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

9 lines
127 B
Solidity
Raw Normal View History

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