blob: 96eb1bb12161d1d7b13ad19b34a97ac08b5faead (
plain) (
blame)
1
2
3
4
5
6
|
pragma experimental "v0.5.0";
contract A { constructor(uint) public { } }
contract B is A(2) { constructor() A(3) public { } }
// ----
// DeclarationError: Base constructor arguments given twice.
|