solidity/test/libsolidity/syntaxTests/inheritance/duplicated_constructor_call/base.sol

5 lines
181 B
Solidity

contract A { constructor(uint) public { } }
contract B is A(2) { constructor() A(3) public { } }
// ----
// DeclarationError 3364: (79-83): Base constructor arguments given twice.