solidity/test/libsolidity/syntaxTests/inheritance/duplicated_constructor_call/base.sol
2020-07-07 12:16:18 +02:00

5 lines
167 B
Solidity

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