aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker/2006-01-19-ConstantPacked.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Linker/2006-01-19-ConstantPacked.ll')
-rw-r--r--test/Linker/2006-01-19-ConstantPacked.ll13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/Linker/2006-01-19-ConstantPacked.ll b/test/Linker/2006-01-19-ConstantPacked.ll
new file mode 100644
index 0000000..d2409e2
--- /dev/null
+++ b/test/Linker/2006-01-19-ConstantPacked.ll
@@ -0,0 +1,13 @@
+; RUN: llvm-as %s -o %t1.bc
+; RUN: llvm-link -o %t2.bc %t1.bc
+
+target datalayout = "E-p:32:32"
+target triple = "powerpc-apple-darwin7.7.0"
+deplibs = [ "c", "crtend" ]
+@source = global <4 x i32> < i32 0, i32 1, i32 2, i32 3 > ; <<4 x i32>*> [#uses=0]
+
+define i32 @main() {
+entry:
+ ret i32 0
+}
+