aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/libsolidity/syntaxTests/constructor/constructor_no_visibility.sol3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/libsolidity/syntaxTests/constructor/constructor_no_visibility.sol b/test/libsolidity/syntaxTests/constructor/constructor_no_visibility.sol
index df67c9fa..f8820fdc 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".