mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
54965fb0ae
Update test/libsolidity/semanticTests/emit_three_identical_events.sol Co-authored-by: Kamil Śliwak <cameel2@gmail.com> Update test/libsolidity/semanticTests/emit_two_identical_events.sol Co-authored-by: Nikola Matić <nikola.matic@ethereum.org>
14 lines
257 B
Solidity
14 lines
257 B
Solidity
contract C {
|
|
event Terminated();
|
|
|
|
function terminate() external {
|
|
emit Terminated();
|
|
emit Terminated();
|
|
emit Terminated();
|
|
}
|
|
}
|
|
// ----
|
|
// terminate() ->
|
|
// ~ emit Terminated()
|
|
// ~ emit Terminated()
|
|
// ~ emit Terminated() |