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

5 lines
167 B
Solidity
Raw Normal View History

2020-06-23 12:14:24 +00:00
contract A { constructor(uint) { } }
contract B is A(2) { constructor() A(3) { } }
// ----
2020-06-23 12:14:24 +00:00
// DeclarationError 3364: (72-76): Base constructor arguments given twice.