aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SolidityEndToEndTest.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-07-24 03:43:38 +0800
committerGitHub <noreply@github.com>2018-07-24 03:43:38 +0800
commitde90290c2882a580ab5e9cc222bd4caa21ac7667 (patch)
tree0748cef73a8bee2c1c51710bd05303425543a50f /test/libsolidity/SolidityEndToEndTest.cpp
parentb3c8e14952f86ab658ac456f5cce71609498a348 (diff)
parentc622a1e56c0a02b890b45fd15f1fb4cb9d119b3b (diff)
downloaddexon-solidity-de90290c2882a580ab5e9cc222bd4caa21ac7667.tar.gz
dexon-solidity-de90290c2882a580ab5e9cc222bd4caa21ac7667.tar.zst
dexon-solidity-de90290c2882a580ab5e9cc222bd4caa21ac7667.zip
Merge pull request #4527 from ethereum/mappingEnforceStorage
Enforces explicit data location for mappings
Diffstat (limited to 'test/libsolidity/SolidityEndToEndTest.cpp')
-rw-r--r--test/libsolidity/SolidityEndToEndTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityEndToEndTest.cpp b/test/libsolidity/SolidityEndToEndTest.cpp
index be590557..223250fa 100644
--- a/test/libsolidity/SolidityEndToEndTest.cpp
+++ b/test/libsolidity/SolidityEndToEndTest.cpp
@@ -1534,7 +1534,7 @@ BOOST_AUTO_TEST_CASE(struct_reference)
}
function set() public {
data.z = 2;
- mapping(uint8 => s2) map = data.recursive;
+ mapping(uint8 => s2) storage map = data.recursive;
s2 storage inner = map[0];
inner.z = 3;
inner.recursive[0].z = inner.recursive[1].z + 1;