aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/562_event_emit_foreign_class.sol
blob: afac609a6f71e3dc92bdad668b78c20282a9f623 (plain) (blame)
1
2
3
4
5
6
7
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});
    }
}