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

5 lines
173 B
Solidity
Raw Normal View History

2020-06-23 12:14:24 +00:00
contract A { constructor() { } }
contract B is A { constructor() A { } }
// ----
2020-06-23 12:14:24 +00:00
// DeclarationError 1563: (65-66): Modifier-style base constructor call without arguments.