aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/controlFlow
diff options
context:
space:
mode:
authorDaniel Kirchner <daniel@ekpyron.org>2018-11-13 19:12:08 +0800
committerDaniel Kirchner <daniel@ekpyron.org>2018-11-13 19:18:22 +0800
commitb5e9d849ef93589ab8eb59e1becbc4d7a8250ccb (patch)
tree194fa0e38bd127f84beb15b7d6f667ea665b483c /test/libsolidity/syntaxTests/controlFlow
parent4eaed37b96c219c0486a125fc34c916cdb729026 (diff)
downloaddexon-solidity-b5e9d849ef93589ab8eb59e1becbc4d7a8250ccb.tar.gz
dexon-solidity-b5e9d849ef93589ab8eb59e1becbc4d7a8250ccb.tar.zst
dexon-solidity-b5e9d849ef93589ab8eb59e1becbc4d7a8250ccb.zip
Ignore unimplemented functions for storage returns.
Diffstat (limited to 'test/libsolidity/syntaxTests/controlFlow')
-rw-r--r--test/libsolidity/syntaxTests/controlFlow/storageReturn/unimplemented_internal.sol4
-rw-r--r--test/libsolidity/syntaxTests/controlFlow/storageReturn/unimplemented_library.sol4
2 files changed, 8 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/controlFlow/storageReturn/unimplemented_internal.sol b/test/libsolidity/syntaxTests/controlFlow/storageReturn/unimplemented_internal.sol
new file mode 100644
index 00000000..8bce0dd2
--- /dev/null
+++ b/test/libsolidity/syntaxTests/controlFlow/storageReturn/unimplemented_internal.sol
@@ -0,0 +1,4 @@
+contract C {
+ function f() internal returns(uint[] storage);
+ function g() internal returns(uint[] storage s);
+}
diff --git a/test/libsolidity/syntaxTests/controlFlow/storageReturn/unimplemented_library.sol b/test/libsolidity/syntaxTests/controlFlow/storageReturn/unimplemented_library.sol
new file mode 100644
index 00000000..818b6a20
--- /dev/null
+++ b/test/libsolidity/syntaxTests/controlFlow/storageReturn/unimplemented_library.sol
@@ -0,0 +1,4 @@
+library L {
+ function f() public returns(uint[] storage);
+ function g() public returns(uint[] storage s);
+}