mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
18 lines
257 B
Solidity
18 lines
257 B
Solidity
|
contract C {
|
||
|
event E();
|
||
|
}
|
||
|
|
||
|
contract Test {
|
||
|
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
|