Remove the duplicate multiclass N3VSh_QHSD and use N3VInt_QHSD which is modified
[oota-llvm.git] / unittests / ADT / SmallVectorTest.cpp
index d7dc3af52febc22ccca0d5f41aacf01ca974ae97..991c7d6caac758e2095cc7d9ea2b724cd768a202 100644 (file)
@@ -14,6 +14,7 @@
 #include "gtest/gtest.h"
 #include "llvm/ADT/SmallVector.h"
 #include <stdarg.h>
+#include <list>
 
 using namespace llvm;
 
@@ -399,4 +400,9 @@ TEST_F(SmallVectorTest, DirectVectorTest) {
   EXPECT_EQ(4, theVector[3].getValue());
 }
 
+TEST_F(SmallVectorTest, IteratorTest) {
+  std::list<int> L;
+  theVector.insert(theVector.end(), L.begin(), L.end());
+}
+
 }