Fix copypaste error in test.
[oota-llvm.git] / unittests / IR / InstructionsTest.cpp
index 9f66af147180e481b41be46f966fd929d46bfd5b..3aa30af6b92aa36e1378339b4acda31abc6e5e09 100644 (file)
@@ -141,7 +141,7 @@ TEST(InstructionsTest, VectorGep) {
 
   // Type Definitions
   PointerType *Ptri8Ty = PointerType::get(IntegerType::get(C, 8), 0);
-  PointerType *Ptri32Ty = PointerType::get(IntegerType::get(C, 8), 0);
+  PointerType *Ptri32Ty = PointerType::get(IntegerType::get(C, 32), 0);
 
   VectorType *V2xi8PTy = VectorType::get(Ptri8Ty, 2);
   VectorType *V2xi32PTy = VectorType::get(Ptri32Ty, 2);