solidity/test/libsolidity/syntaxTests/events/event_without_emit_deprecated.sol

9 lines
160 B
Solidity

contract C {
event e();
function f() public {
e();
}
}
// ----
// TypeError 3132: (62-65): Event invocations have to be prefixed by "emit".