aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/emit/emit_non_event.sol
blob: 1df6990dc69ee7d2092cf24c41457937c90693b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
contract C {
  uint256 Test;

  function f() {
    emit Test();
  }
}
// ----
// TypeError: (56-62): Type is not callable
// TypeError: (56-60): Expression has to be an event invocation.