diff options
author | mingchuan <mingc@skymizer.com> | 2018-05-23 12:31:20 +0800 |
---|---|---|
committer | mingchuan <mingc@skymizer.com> | 2018-05-30 18:05:55 +0800 |
commit | b7cafcbdf95c807f46fc07f4788d82981b7112b4 (patch) | |
tree | 5714a463da64eaf75a3ec56732165ec89e77d677 /test/libsolidity/syntaxTests/parsing | |
parent | 9d5064d04d178474b95d67e87aaa32d0e5e03b0f (diff) | |
download | dexon-solidity-b7cafcbdf95c807f46fc07f4788d82981b7112b4.tar.gz dexon-solidity-b7cafcbdf95c807f46fc07f4788d82981b7112b4.tar.zst dexon-solidity-b7cafcbdf95c807f46fc07f4788d82981b7112b4.zip |
Allow using `calldata` keyword to specify data location
Diffstat (limited to 'test/libsolidity/syntaxTests/parsing')
-rw-r--r-- | test/libsolidity/syntaxTests/parsing/location_specifiers_for_params.sol | 2 |
1 files changed, 1 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 e021182a..72b6ce84 100644 --- a/test/libsolidity/syntaxTests/parsing/location_specifiers_for_params.sol +++ b/test/libsolidity/syntaxTests/parsing/location_specifiers_for_params.sol @@ -2,4 +2,4 @@ contract Foo { function f(uint[] storage constant x, uint[] memory y) internal { } } // ---- -// TypeError: (30-55): Storage location has to be "memory" (or unspecified) for constants. +// TypeError: (30-55): Data location has to be "memory" (or unspecified) for constants. |