summaryrefslogtreecommitdiff
path: root/test/Linker/testlink2.ll
diff options
context:
space:
mode:
authorJoey Gouly <joey.gouly@arm.com>2013-01-10 10:49:36 +0000
committerJoey Gouly <joey.gouly@arm.com>2013-01-10 10:49:36 +0000
commit2b8f6ae6b791099ceff8ad87bcca7f165655c5c7 (patch)
treeb350eb5816757951add4eec03e66af41d691e188 /test/Linker/testlink2.ll
parent1d505a33f9cb77a2adb644b85136e7be64a186d9 (diff)
downloadllvm-2b8f6ae6b791099ceff8ad87bcca7f165655c5c7.tar.gz
llvm-2b8f6ae6b791099ceff8ad87bcca7f165655c5c7.tar.bz2
llvm-2b8f6ae6b791099ceff8ad87bcca7f165655c5c7.tar.xz
Fix a copy/paste error in the IR Linker, casting an ArrayType instead of a VectorType.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172054 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker/testlink2.ll')
-rw-r--r--test/Linker/testlink2.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Linker/testlink2.ll b/test/Linker/testlink2.ll
index 1798e31e47..ff8e529986 100644
--- a/test/Linker/testlink2.ll
+++ b/test/Linker/testlink2.ll
@@ -8,6 +8,8 @@
%Ty1 = type { %Ty2* }
%Ty2 = type opaque
+%VecSize = type { <10 x i32> }
+
@GVTy1 = global %Ty1* null
@GVTy2 = external global %Ty2*
@@ -53,3 +55,4 @@ define internal void @testIntern() {
ret void
}
+declare void @VecSizeCrash1(%VecSize)