aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/091_event_function_inheritance_clash.sol
blob: 5e0f58ea24f18a1ed4940c856d17b9c57e34b586 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
contract A {
    function dup() public returns (uint) {
        return 1;
    }
}
contract B {
    event dup();
}
contract C is A, B {
}
// ----
// DeclarationError: (99-111): Identifier already declared.