aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorChristian Parpart <christian@ethereum.org>2018-06-25 21:25:58 +0800
committerChristian Parpart <christian@ethereum.org>2018-06-26 16:40:25 +0800
commita083ccd4575bede56724e9ef851a2035f7d5ffb0 (patch)
tree736237c5d579ebbe8b3deedaaadb48ef9e55f3c4 /test
parent4be9dc430452ca73ffb07f987f27fb6ccf4ac848 (diff)
downloaddexon-solidity-a083ccd4575bede56724e9ef851a2035f7d5ffb0.tar.gz
dexon-solidity-a083ccd4575bede56724e9ef851a2035f7d5ffb0.tar.zst
dexon-solidity-a083ccd4575bede56724e9ef851a2035f7d5ffb0.zip
test: drop obsoleted syntaxTest(s)
Diffstat (limited to 'test')
-rw-r--r--test/libsolidity/syntaxTests/multiVariableDeclaration/multiVariableDeclarationInvalid.sol8
-rw-r--r--test/libsolidity/syntaxTests/nameAndTypeResolution/248_tuple_assignment_from_void_function.sol11
2 files changed, 0 insertions, 19 deletions
diff --git a/test/libsolidity/syntaxTests/multiVariableDeclaration/multiVariableDeclarationInvalid.sol b/test/libsolidity/syntaxTests/multiVariableDeclaration/multiVariableDeclarationInvalid.sol
deleted file mode 100644
index c8686ae8..00000000
--- a/test/libsolidity/syntaxTests/multiVariableDeclaration/multiVariableDeclarationInvalid.sol
+++ /dev/null
@@ -1,8 +0,0 @@
-contract C {
- function f() internal returns (uint, uint, uint, uint) {
- var (uint a, uint b,,) = f();
- a; b;
- }
-}
-// ----
-// ParserError: (81-85): Expected identifier but got 'uint'
diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/248_tuple_assignment_from_void_function.sol b/test/libsolidity/syntaxTests/nameAndTypeResolution/248_tuple_assignment_from_void_function.sol
deleted file mode 100644
index f3e02ecb..00000000
--- a/test/libsolidity/syntaxTests/nameAndTypeResolution/248_tuple_assignment_from_void_function.sol
+++ /dev/null
@@ -1,11 +0,0 @@
-contract C {
- function f() public { }
- function g() public {
- var (x,) = (f(), f());
- }
-}
-// ----
-// Warning: (80-81): Use of the "var" keyword is deprecated.
-// Warning: (87-90): Tuple component cannot be empty.
-// Warning: (92-95): Tuple component cannot be empty.
-// TypeError: (80-81): Cannot declare variable with void (empty tuple) type.