diff options
author | Christian Parpart <christian@ethereum.org> | 2018-06-25 21:25:58 +0800 |
---|---|---|
committer | Christian Parpart <christian@ethereum.org> | 2018-06-26 16:40:25 +0800 |
commit | a083ccd4575bede56724e9ef851a2035f7d5ffb0 (patch) | |
tree | 736237c5d579ebbe8b3deedaaadb48ef9e55f3c4 /test/libsolidity/syntaxTests/nameAndTypeResolution | |
parent | 4be9dc430452ca73ffb07f987f27fb6ccf4ac848 (diff) | |
download | dexon-solidity-a083ccd4575bede56724e9ef851a2035f7d5ffb0.tar dexon-solidity-a083ccd4575bede56724e9ef851a2035f7d5ffb0.tar.gz dexon-solidity-a083ccd4575bede56724e9ef851a2035f7d5ffb0.tar.bz2 dexon-solidity-a083ccd4575bede56724e9ef851a2035f7d5ffb0.tar.lz dexon-solidity-a083ccd4575bede56724e9ef851a2035f7d5ffb0.tar.xz dexon-solidity-a083ccd4575bede56724e9ef851a2035f7d5ffb0.tar.zst dexon-solidity-a083ccd4575bede56724e9ef851a2035f7d5ffb0.zip |
test: drop obsoleted syntaxTest(s)
Diffstat (limited to 'test/libsolidity/syntaxTests/nameAndTypeResolution')
-rw-r--r-- | test/libsolidity/syntaxTests/nameAndTypeResolution/248_tuple_assignment_from_void_function.sol | 11 |
1 files changed, 0 insertions, 11 deletions
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. |