diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-08-06 18:42:39 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-08-06 19:03:00 +0800 |
commit | 2ab66bf7986d2d92091b75f95a7c61ed9632f65d (patch) | |
tree | 2642079532ac2fa5bde0ce36c91260a7ad3a1ece /test/libsolidity/syntaxTests/inheritance | |
parent | 74e6067347eb822c2e107c29d6ea58f22b328de7 (diff) | |
download | dexon-solidity-2ab66bf7986d2d92091b75f95a7c61ed9632f65d.tar.gz dexon-solidity-2ab66bf7986d2d92091b75f95a7c61ed9632f65d.tar.zst dexon-solidity-2ab66bf7986d2d92091b75f95a7c61ed9632f65d.zip |
Cleanup 0.5.0 test cases
Diffstat (limited to 'test/libsolidity/syntaxTests/inheritance')
-rw-r--r-- | test/libsolidity/syntaxTests/inheritance/duplicated_constructor_call/ancestor_V050.sol | 7 | ||||
-rw-r--r-- | test/libsolidity/syntaxTests/inheritance/duplicated_constructor_call/base_V050.sol | 6 |
2 files changed, 0 insertions, 13 deletions
diff --git a/test/libsolidity/syntaxTests/inheritance/duplicated_constructor_call/ancestor_V050.sol b/test/libsolidity/syntaxTests/inheritance/duplicated_constructor_call/ancestor_V050.sol deleted file mode 100644 index 8d5df5bf..00000000 --- a/test/libsolidity/syntaxTests/inheritance/duplicated_constructor_call/ancestor_V050.sol +++ /dev/null @@ -1,7 +0,0 @@ -pragma experimental "v0.5.0"; - -contract A { constructor(uint) public { } } -contract B is A(2) { constructor() public { } } -contract C is B { constructor() A(3) public { } } -// ---- -// DeclarationError: (156-160): Base constructor arguments given twice. diff --git a/test/libsolidity/syntaxTests/inheritance/duplicated_constructor_call/base_V050.sol b/test/libsolidity/syntaxTests/inheritance/duplicated_constructor_call/base_V050.sol deleted file mode 100644 index f9325f99..00000000 --- a/test/libsolidity/syntaxTests/inheritance/duplicated_constructor_call/base_V050.sol +++ /dev/null @@ -1,6 +0,0 @@ -pragma experimental "v0.5.0"; - -contract A { constructor(uint) public { } } -contract B is A(2) { constructor() A(3) public { } } -// ---- -// DeclarationError: (110-114): Base constructor arguments given twice. |