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