aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/473_storage_location_non_array_or_struct_disallowed.sol
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-08-08 01:12:49 +0800
committerchriseth <chris@ethereum.org>2018-08-15 00:53:06 +0800
commit13905a2094d454aa94259412a3cf20a5f8176fff (patch)
tree40ee6df0b3e735df5f192744caad5910e559c1ec /test/libsolidity/syntaxTests/nameAndTypeResolution/473_storage_location_non_array_or_struct_disallowed.sol
parent16de7a04935ecee9c33392965f23dcfc775b799d (diff)
downloaddexon-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/nameAndTypeResolution/473_storage_location_non_array_or_struct_disallowed.sol')
-rw-r--r--test/libsolidity/syntaxTests/nameAndTypeResolution/473_storage_location_non_array_or_struct_disallowed.sol2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/473_storage_location_non_array_or_struct_disallowed.sol b/test/libsolidity/syntaxTests/nameAndTypeResolution/473_storage_location_non_array_or_struct_disallowed.sol
index 6c9f50af..fe846aa0 100644
--- a/test/libsolidity/syntaxTests/nameAndTypeResolution/473_storage_location_non_array_or_struct_disallowed.sol
+++ b/test/libsolidity/syntaxTests/nameAndTypeResolution/473_storage_location_non_array_or_struct_disallowed.sol
@@ -2,4 +2,4 @@ contract C {
function f(uint storage a) public { }
}
// ----
-// TypeError: (28-42): Data location can only be given for array or struct types.
+// TypeError: (28-42): Data location can only be specified for array, struct or mapping types, but "storage" was given.