aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/inheritance/base_arguments_multiple_inheritance.sol
blob: 96be62f2d4570c3cfd599022c5ee534ba2c018e5 (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 {}
}
// ----
// DeclarationError: (138-145): Base constructor arguments given twice.