aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/088_double_event_declaration_ignores_anonymous.sol
blob: 7d4b0ac93e4323d59ffd030bbc914ecabe76c06c (plain) (blame)
1
2
3
4
5
6
contract test {
    event A(uint i);
    event A(uint i) anonymous;
}
// ----
// DeclarationError: (20-36): Event with same name and arguments defined twice.