aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/tupleAssignments
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-07-13 07:23:28 +0800
committerGitHub <noreply@github.com>2018-07-13 07:23:28 +0800
commit052f19c6b0aac3b4f60ee8a7f340033e0b5350f0 (patch)
tree82027ba467f6851c64984c77538ee424ae74f645 /test/libsolidity/syntaxTests/tupleAssignments
parentf0bc1bce895f67ccd8b21e244d1b7cbd8c8f9453 (diff)
parent62645d530253c365ac09979135e9037f2bde2934 (diff)
downloaddexon-solidity-052f19c6b0aac3b4f60ee8a7f340033e0b5350f0.tar
dexon-solidity-052f19c6b0aac3b4f60ee8a7f340033e0b5350f0.tar.gz
dexon-solidity-052f19c6b0aac3b4f60ee8a7f340033e0b5350f0.tar.bz2
dexon-solidity-052f19c6b0aac3b4f60ee8a7f340033e0b5350f0.tar.lz
dexon-solidity-052f19c6b0aac3b4f60ee8a7f340033e0b5350f0.tar.xz
dexon-solidity-052f19c6b0aac3b4f60ee8a7f340033e0b5350f0.tar.zst
dexon-solidity-052f19c6b0aac3b4f60ee8a7f340033e0b5350f0.zip
Merge pull request #4431 from ethereum/tupleDeclaration
Disallow multi variable declarations with mismatching number of values.
Diffstat (limited to 'test/libsolidity/syntaxTests/tupleAssignments')
-rw-r--r--test/libsolidity/syntaxTests/tupleAssignments/warn_fill_vardecl.sol8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/libsolidity/syntaxTests/tupleAssignments/warn_fill_vardecl.sol b/test/libsolidity/syntaxTests/tupleAssignments/warn_fill_vardecl.sol
deleted file mode 100644
index 23484567..00000000
--- a/test/libsolidity/syntaxTests/tupleAssignments/warn_fill_vardecl.sol
+++ /dev/null
@@ -1,8 +0,0 @@
-contract C {
- function f() public pure returns (uint, uint, uint, uint) {
- (uint a, uint b,) = f();
- a; b;
- }
-}
-// ----
-// Warning: (76-99): Different number of components on the left hand side (3) than on the right hand side (4).