aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests
diff options
context:
space:
mode:
authorErik Kundt <bitshift@posteo.org>2018-06-29 19:00:50 +0800
committerErik Kundt <bitshift@posteo.org>2018-06-29 19:22:59 +0800
commite6d250772d1a42c5ac113a4e045e8365805ee300 (patch)
tree9448ac8305caf75108d58b876393078e08d5ee49 /test/libsolidity/syntaxTests
parent1346b4407f05335a039c6b71ccceebd7878fd70a (diff)
downloaddexon-solidity-e6d250772d1a42c5ac113a4e045e8365805ee300.tar.gz
dexon-solidity-e6d250772d1a42c5ac113a4e045e8365805ee300.tar.zst
dexon-solidity-e6d250772d1a42c5ac113a4e045e8365805ee300.zip
Updates invalid syntax test.
Diffstat (limited to 'test/libsolidity/syntaxTests')
-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".