solidity/test/libsolidity/syntaxTests/emit/emit_non_event.sol
2018-08-03 13:41:27 +02:00

11 lines
194 B
Solidity

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.