solidity/test/libsolidity/semanticTests/events/simple.sol

18 lines
262 B
Solidity
Raw Normal View History

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