solidity/test/libsolidity/syntaxTests/emit_non_event.sol
2018-05-04 12:47:01 +02:00

11 lines
187 B
Solidity

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.