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

5 lines
182 B
Solidity
Raw Normal View History

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