solidity/test/libsolidity/semanticTests/events/event_anonymous.sol
2021-05-27 23:21:55 -05:00

12 lines
197 B
Solidity

contract ClientReceipt {
event Deposit() anonymous;
function deposit() public {
emit Deposit();
}
}
// ====
// compileViaYul: also
// ----
// deposit() ->
// ~ emit <anonymous>