1 2 3 4 5 6
contract C { constructor(uint) public {} } contract A is C { constructor() C(2) public {} } contract B is C { constructor() C(2) public {} } contract D is A, B { } // ---- // Warning: (141-163): Base constructor arguments given twice.