mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
18 lines
262 B
Solidity
18 lines
262 B
Solidity
contract C {
|
|
event E();
|
|
}
|
|
|
|
contract Test is C {
|
|
event E(uint256, uint256);
|
|
function f() public {
|
|
emit C.E();
|
|
emit E(1,2);
|
|
}
|
|
}
|
|
// ====
|
|
// compileViaYul: also
|
|
// ----
|
|
// f() ->
|
|
// ~ emit E()
|
|
// ~ emit E(uint256,uint256): 0x01, 0x02
|