aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/inheritance/base_arguments_multiple_inheritance.sol
blob: 015b33e590e8ed720dd2fcb2e28be7b428b87e86 (plain) (blame)
1
2
3
4
5
6
7
8
9
contract Base {
    constructor(uint) public { }
}
contract Base1 is Base(3) {}
contract Derived is Base, Base1 {
    constructor(uint i) Base(i) public {}
}
// ----
// Warning: (138-145): Base constructor arguments given twice.