aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Kirchner <daniel@ekpyron.org>2018-08-08 04:00:38 +0800
committerDaniel Kirchner <daniel@ekpyron.org>2018-08-08 18:48:59 +0800
commit99d3e8e45a7db18dedef5d1dde3cabd1e539efb2 (patch)
treed4830fe0859f3121be7e0f2118833833b3e49487
parent576ba9197081f795c6cb6da1de30cb019d8ae607 (diff)
downloaddexon-solidity-99d3e8e45a7db18dedef5d1dde3cabd1e539efb2.tar.gz
dexon-solidity-99d3e8e45a7db18dedef5d1dde3cabd1e539efb2.tar.zst
dexon-solidity-99d3e8e45a7db18dedef5d1dde3cabd1e539efb2.zip
Add back lost test case to a more reasonable location.
-rw-r--r--test/libsolidity/syntaxTests/controlFlow/storageReturn/tuple_fine.sol3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/controlFlow/storageReturn/tuple_fine.sol b/test/libsolidity/syntaxTests/controlFlow/storageReturn/tuple_fine.sol
index 0b171560..7567f694 100644
--- a/test/libsolidity/syntaxTests/controlFlow/storageReturn/tuple_fine.sol
+++ b/test/libsolidity/syntaxTests/controlFlow/storageReturn/tuple_fine.sol
@@ -8,5 +8,8 @@ contract C {
uint a;
(c, a) = f();
}
+ function h() internal view returns (S storage, S storage) {
+ return (s,s);
+ }
}
// ----