solidity/test/libsolidity/syntaxTests/inheritance/base_arguments_multiple_inheritance.sol

10 lines
218 B
Solidity

contract Base {
constructor(uint) public { }
}
contract Base1 is Base(3) {}
contract Derived is Base, Base1 {
constructor(uint i) Base(i) public {}
}
// ----
// Warning: Base constructor arguments given twice.