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

4 lines
127 B
Solidity

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