solidity/test/libsolidity/syntaxTests/events/event_emit_foreign_class.sol
2021-04-20 17:38:29 +02:00

9 lines
166 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});
}
}
// ----