mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
209 B
Solidity
12 lines
209 B
Solidity
contract C {
|
|
event E(string r);
|
|
function deposit() public {
|
|
emit E("HELLO WORLD");
|
|
}
|
|
}
|
|
// ====
|
|
// compileViaYul: also
|
|
// ----
|
|
// deposit() ->
|
|
// ~ emit E(string): 0x20, 0x0b, "HELLO WORLD"
|