solidity/test/libsolidity/syntaxTests/constructor/constructor_no_visibility.sol

4 lines
122 B
Solidity

contract A { constructor() {} }
// ----
// SyntaxError: (13-29): No visibility specified. Did you intend to add "public"?