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

5 lines
167 B
Solidity
Raw Normal View History

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