Index: runtime/vm/hash_map_test.cc |
=================================================================== |
--- runtime/vm/hash_map_test.cc (revision 11221) |
+++ runtime/vm/hash_map_test.cc (working copy) |
@@ -30,6 +30,10 @@ |
EXPECT(map.Lookup(&v1) == &v1); |
EXPECT(map.Lookup(&v2) == &v2); |
EXPECT(map.Lookup(&v3) == &v1); |
+ DirectChainedHashMap<TestValue*> map2(map); |
+ EXPECT(map2.Lookup(&v1) == &v1); |
+ EXPECT(map2.Lookup(&v2) == &v2); |
+ EXPECT(map2.Lookup(&v3) == &v1); |
} |
} // namespace dart |