aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/094_event_inheritance.sol
blob: d177209bfdf1dab3dbf5daa8ac9d666ad88d0e83 (plain) (blame)
1
2
3
4
5
6
7
8
contract base {
    event e(uint a, bytes3 indexed s, bool indexed b);
}
contract c is base {
    function f() public { e(2, "abc", true); }
}
// ----
// Warning: (120-137): Invoking events without "emit" prefix is deprecated.