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

6 lines
142 B
Solidity

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