diff options
author | chriseth <chris@ethereum.org> | 2018-06-29 06:29:52 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-06-29 22:11:21 +0800 |
commit | f69e24c85e9e4131fe393cc0cf64900a19a88cc9 (patch) | |
tree | 073844cfe4cd8cbac6a31923b117353f91b41690 /test/libsolidity/syntaxTests/inheritance/base_arguments_multiple_inheritance.sol | |
parent | e289c36158701ba0b874051e9e426e270b0e38e2 (diff) | |
download | dexon-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.sol | 2 |
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. |