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/260_library_memory_struct.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/260_library_memory_struct.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/nameAndTypeResolution/260_library_memory_struct.sol | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/260_library_memory_struct.sol b/test/libsolidity/syntaxTests/nameAndTypeResolution/260_library_memory_struct.sol index e06ba2d1..20d8afa5 100644 --- a/test/libsolidity/syntaxTests/nameAndTypeResolution/260_library_memory_struct.sol +++ b/test/libsolidity/syntaxTests/nameAndTypeResolution/260_library_memory_struct.sol @@ -1,8 +1,8 @@ pragma experimental ABIEncoderV2; library c { struct S { uint x; } - function f() public returns (S ) {} + function f() public returns (S memory) {} } // ---- // Warning: (0-33): Experimental features are turned on. Do not use experimental features on live deployments. -// Warning: (75-110): Function state mutability can be restricted to pure +// Warning: (75-116): Function state mutability can be restricted to pure |