solidity/test/libsolidity/syntaxTests/inheritance/duplicated_constructor_call/base.sol
2018-04-10 14:08:22 +02:00

5 lines
167 B
Solidity

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