solidity/test/libsolidity/syntaxTests/inheritance/disallow_modifier_style_without_parentheses.sol

5 lines
187 B
Solidity

contract A { constructor() public { } }
contract B is A { constructor() A public { } }
// ----
// DeclarationError 1563: (72-73): Modifier-style base constructor call without arguments.