solidity/test/libsolidity/syntaxTests/events/event_emit_foreign_class.sol

8 lines
158 B
Solidity

contract A { event e(uint a, string b); }
contract C is A {
function f() public {
emit A.e(2, "abc");
emit A.e({b: "abc", a: 8});
}
}