diff options
author | Chase McDermott <chasemcd1745@tamu.edu> | 2018-07-12 09:24:50 +0800 |
---|---|---|
committer | Chase McDermott <chasemcd1745@tamu.edu> | 2018-07-12 09:24:50 +0800 |
commit | fc78b32847ce462bbcc443bbf269a1bdd8bcc99e (patch) | |
tree | 54ac5642482c44be352ea327f1f833edf3232d18 /test/libsolidity/syntaxTests/nameAndTypeResolution/048_returning_arrays_in_structs_arrays.sol | |
parent | 71777ce729d9cf2a536fe966de6c6dd1ee43c807 (diff) | |
download | dexon-solidity-fc78b32847ce462bbcc443bbf269a1bdd8bcc99e.tar dexon-solidity-fc78b32847ce462bbcc443bbf269a1bdd8bcc99e.tar.gz dexon-solidity-fc78b32847ce462bbcc443bbf269a1bdd8bcc99e.tar.bz2 dexon-solidity-fc78b32847ce462bbcc443bbf269a1bdd8bcc99e.tar.lz dexon-solidity-fc78b32847ce462bbcc443bbf269a1bdd8bcc99e.tar.xz dexon-solidity-fc78b32847ce462bbcc443bbf269a1bdd8bcc99e.tar.zst dexon-solidity-fc78b32847ce462bbcc443bbf269a1bdd8bcc99e.zip |
Added default data locations to parameters for syntax tests.
Diffstat (limited to 'test/libsolidity/syntaxTests/nameAndTypeResolution/048_returning_arrays_in_structs_arrays.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/nameAndTypeResolution/048_returning_arrays_in_structs_arrays.sol | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/048_returning_arrays_in_structs_arrays.sol b/test/libsolidity/syntaxTests/nameAndTypeResolution/048_returning_arrays_in_structs_arrays.sol index 2f1e5a15..48e80fcf 100644 --- a/test/libsolidity/syntaxTests/nameAndTypeResolution/048_returning_arrays_in_structs_arrays.sol +++ b/test/libsolidity/syntaxTests/nameAndTypeResolution/048_returning_arrays_in_structs_arrays.sol @@ -1,6 +1,6 @@ contract C { struct S { string[] s; } - function f() public pure returns (S x) {} + function f() public pure returns (S memory x) {} } // ---- -// TypeError: (80-83): This type is only supported in the new experimental ABI encoder. Use "pragma experimental ABIEncoderV2;" to enable the feature. +// TypeError: (80-90): This type is only supported in the new experimental ABI encoder. Use "pragma experimental ABIEncoderV2;" to enable the feature. |