diff --git a/test/libsolidity/syntaxTests/constructor/constructor_no_visibility.sol b/test/libsolidity/syntaxTests/constructor/constructor_no_visibility.sol index df67c9fae..f8820fdcf 100644 --- a/test/libsolidity/syntaxTests/constructor/constructor_no_visibility.sol +++ b/test/libsolidity/syntaxTests/constructor/constructor_no_visibility.sol @@ -1,2 +1,3 @@ -contract A { constructor() public {} } +contract A { constructor() {} } // ---- +// Warning: (13-29): No visibility specified. Defaulting to "public".