diff options
author | Daniel Kirchner <daniel@ekpyron.org> | 2018-11-13 19:12:08 +0800 |
---|---|---|
committer | Daniel Kirchner <daniel@ekpyron.org> | 2018-11-13 19:18:22 +0800 |
commit | b5e9d849ef93589ab8eb59e1becbc4d7a8250ccb (patch) | |
tree | 194fa0e38bd127f84beb15b7d6f667ea665b483c /test/libsolidity/syntaxTests | |
parent | 4eaed37b96c219c0486a125fc34c916cdb729026 (diff) | |
download | dexon-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')
-rw-r--r-- | test/libsolidity/syntaxTests/controlFlow/storageReturn/unimplemented_internal.sol | 4 | ||||
-rw-r--r-- | test/libsolidity/syntaxTests/controlFlow/storageReturn/unimplemented_library.sol | 4 |
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); +} |