solidity/test/libsolidity/syntaxTests/modifiers/constructor_as_modifier.sol

6 lines
137 B
Solidity
Raw Normal View History

contract C {
constructor() C() public {}
}
// ----
// TypeError: (31-34): Referenced declaration is neither modifier nor base class.