blob: 76cc937b208605252b9ab60f6c51d44567e7249c (
plain) (
blame)
1
2
3
4
5
|
contract A { constructor(uint) public { } }
contract B is A(2) { constructor() public { } }
contract C is B { constructor() A(3) public { } }
// ----
// DeclarationError: (125-129): Base constructor arguments given twice.
|