solidity/test/libsolidity/syntaxTests/modifiers/constructor_as_modifier.sol
2019-10-23 10:29:41 +02:00

6 lines
137 B
Solidity

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