aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/inheritance
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-06-29 06:06:51 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-08-01 19:28:27 +0800
commit7e5406dd8953cb819c397221fa55e6fa390108ee (patch)
treecf16b432bf0cc89f05a61b0d0fe6d2ba1e99af7f /test/libsolidity/syntaxTests/inheritance
parentef269bf40d3c6fc044c27654473353c556402b77 (diff)
downloaddexon-solidity-7e5406dd8953cb819c397221fa55e6fa390108ee.tar.gz
dexon-solidity-7e5406dd8953cb819c397221fa55e6fa390108ee.tar.zst
dexon-solidity-7e5406dd8953cb819c397221fa55e6fa390108ee.zip
Disallow calling base constructors without arguments.
Diffstat (limited to 'test/libsolidity/syntaxTests/inheritance')
-rw-r--r--test/libsolidity/syntaxTests/inheritance/disallow_modifier_style_without_parentheses.sol2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/syntaxTests/inheritance/disallow_modifier_style_without_parentheses.sol b/test/libsolidity/syntaxTests/inheritance/disallow_modifier_style_without_parentheses.sol
index 6cf68d2a..8f5ceef8 100644
--- a/test/libsolidity/syntaxTests/inheritance/disallow_modifier_style_without_parentheses.sol
+++ b/test/libsolidity/syntaxTests/inheritance/disallow_modifier_style_without_parentheses.sol
@@ -1,4 +1,4 @@
contract A { constructor() public { } }
contract B is A { constructor() A public { } }
// ----
-// Warning: (72-73): Modifier-style base constructor call without arguments.
+// DeclarationError: (72-73): Modifier-style base constructor call without arguments.