contract C { function() Test; function f() public { emit Test(); } } // ---- // TypeError 9292: (66-70='Test'): Expression has to be an event invocation.