aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/emit/emit_non_event.sol
blob: d5045ddf98e2f2a1162f58446b48bb5ac40a285b (plain) (tree)
1
2
3
4
5
6
7
8
9
10


               
                       



                

                                                                
contract C {
  uint256 Test;

  function f() public {
    emit Test();
  }
}
// ----
// TypeError: (63-69): Type is not callable
// TypeError: (63-67): Expression has to be an event invocation.