diff options
author | chriseth <chris@ethereum.org> | 2018-08-08 01:12:49 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-08-15 00:53:06 +0800 |
commit | 13905a2094d454aa94259412a3cf20a5f8176fff (patch) | |
tree | 40ee6df0b3e735df5f192744caad5910e559c1ec /test/libsolidity/syntaxTests/parsing/location_specifiers_for_params.sol | |
parent | 16de7a04935ecee9c33392965f23dcfc775b799d (diff) | |
download | dexon-solidity-13905a2094d454aa94259412a3cf20a5f8176fff.tar dexon-solidity-13905a2094d454aa94259412a3cf20a5f8176fff.tar.gz dexon-solidity-13905a2094d454aa94259412a3cf20a5f8176fff.tar.bz2 dexon-solidity-13905a2094d454aa94259412a3cf20a5f8176fff.tar.lz dexon-solidity-13905a2094d454aa94259412a3cf20a5f8176fff.tar.xz dexon-solidity-13905a2094d454aa94259412a3cf20a5f8176fff.tar.zst dexon-solidity-13905a2094d454aa94259412a3cf20a5f8176fff.zip |
Update tests.
Diffstat (limited to 'test/libsolidity/syntaxTests/parsing/location_specifiers_for_params.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/parsing/location_specifiers_for_params.sol | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/libsolidity/syntaxTests/parsing/location_specifiers_for_params.sol b/test/libsolidity/syntaxTests/parsing/location_specifiers_for_params.sol index 72b6ce84..bf78e59c 100644 --- a/test/libsolidity/syntaxTests/parsing/location_specifiers_for_params.sol +++ b/test/libsolidity/syntaxTests/parsing/location_specifiers_for_params.sol @@ -2,4 +2,6 @@ contract Foo { function f(uint[] storage constant x, uint[] memory y) internal { } } // ---- -// TypeError: (30-55): Data location has to be "memory" (or unspecified) for constants. +// DeclarationError: (30-55): The "constant" keyword can only be used for state variables. +// TypeError: (30-55): Constants of non-value type not yet implemented. +// TypeError: (30-55): Uninitialized "constant" variable. |