aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/emit_without_event.sol
blob: 1af1d4ab5a7c4da07170ace73f8667cd56d3869a (plain) (blame)
1
2
3
4
5
6
7
8
contract C {
    event A();
    function f() {
        emit A;
    }
}
// ----
// ParserError: (49-49): Expected '(' but got ';'