Remove the ValueMap copy constructor. It's not used anywhere,
[oota-llvm.git] / unittests / ADT / ValueMapTest.cpp
index ff7c3b55b70ea63cf8da343d678af8ffcccf3e09..152e8eaaf1f1804c16c3489bb7310a3962890f78 100644 (file)
@@ -39,15 +39,6 @@ protected:
 typedef ::testing::Types<Value, Instruction, const Instruction> KeyTypes;
 TYPED_TEST_CASE(ValueMapTest, KeyTypes);
 
-TYPED_TEST(ValueMapTest, CopyConstructor) {
-  ValueMap<TypeParam*, int> VM1;
-  VM1[this->AddV.get()] = 7;
-  ValueMap<TypeParam*, int> VM2(VM1);
-  this->AddV.reset();
-  EXPECT_TRUE(VM1.empty());
-  EXPECT_TRUE(VM2.empty());
-}
-
 TYPED_TEST(ValueMapTest, Null) {
   ValueMap<TypeParam*, int> VM1;
   VM1[NULL] = 7;