aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/inheritance/base_arguments_multiple_inheritance.sol
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-06-29 06:29:52 +0800
committerchriseth <chris@ethereum.org>2018-06-29 22:11:21 +0800
commitf69e24c85e9e4131fe393cc0cf64900a19a88cc9 (patch)
tree073844cfe4cd8cbac6a31923b117353f91b41690 /test/libsolidity/syntaxTests/inheritance/base_arguments_multiple_inheritance.sol
parente289c36158701ba0b874051e9e426e270b0e38e2 (diff)
downloaddexon-solidity-f69e24c85e9e4131fe393cc0cf64900a19a88cc9.tar.gz
dexon-solidity-f69e24c85e9e4131fe393cc0cf64900a19a88cc9.tar.zst
dexon-solidity-f69e24c85e9e4131fe393cc0cf64900a19a88cc9.zip
Disallow constructor arguments given multiple times.
Diffstat (limited to 'test/libsolidity/syntaxTests/inheritance/base_arguments_multiple_inheritance.sol')
-rw-r--r--test/libsolidity/syntaxTests/inheritance/base_arguments_multiple_inheritance.sol2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/syntaxTests/inheritance/base_arguments_multiple_inheritance.sol b/test/libsolidity/syntaxTests/inheritance/base_arguments_multiple_inheritance.sol
index 015b33e5..96be62f2 100644
--- a/test/libsolidity/syntaxTests/inheritance/base_arguments_multiple_inheritance.sol
+++ b/test/libsolidity/syntaxTests/inheritance/base_arguments_multiple_inheritance.sol
@@ -6,4 +6,4 @@ contract Derived is Base, Base1 {
constructor(uint i) Base(i) public {}
}
// ----
-// Warning: (138-145): Base constructor arguments given twice.
+// DeclarationError: (138-145): Base constructor arguments given twice.