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

5 lines
176 B
Solidity
Raw Normal View History

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