solidity/test/libsolidity/semanticTests/emit_three_identical_events.sol

14 lines
257 B
Solidity
Raw Normal View History

contract C {
event Terminated();
function terminate() external {
emit Terminated();
emit Terminated();
emit Terminated();
}
}
// ----
// terminate() ->
// ~ emit Terminated()
// ~ emit Terminated()
// ~ emit Terminated()