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

4 lines
127 B
Solidity
Raw Normal View History

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