mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
262 B
Solidity
12 lines
262 B
Solidity
contract C {
|
|
event Test(function() external indexed);
|
|
function f() public {
|
|
emit Test(this.f);
|
|
}
|
|
}
|
|
// ====
|
|
// compileViaYul: also
|
|
// ----
|
|
// f() ->
|
|
// ~ emit Test(function): #0x0fdd67305928fcac8d213d1e47bfa6165cd0b87b26121ff00000000000000000
|