From 76bf61fe0754500c5c9d01fc440ff36c76ff61f5 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Fri, 28 Jun 2013 23:24:10 +0000 Subject: Fix copypaste error in test. Thename says it's an i32*, but it was actually creating another i8* git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185239 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/IR/InstructionsTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unittests/IR') diff --git a/unittests/IR/InstructionsTest.cpp b/unittests/IR/InstructionsTest.cpp index 9f66af1..3aa30af 100644 --- a/unittests/IR/InstructionsTest.cpp +++ b/unittests/IR/InstructionsTest.cpp @@ -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); -- cgit v1.1