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

18 lines
257 B
Solidity
Raw Normal View History

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