blob: 2e77e0777c2bc01b4d82627fbab2c50392bb8b5b (
plain) (
blame)
1
2
3
4
5
6
7
|
contract C { constructor(uint) public {} }
contract A is C(2) {}
contract B is C(2) {}
contract D is A, B { constructor() C(3) public {} }
// ----
// DeclarationError: (122-126): Base constructor arguments given twice.
// DeclarationError: (122-126): Base constructor arguments given twice.
|