Add a test case for PR697, ensuring the linker works with ConstantPacked.
authorReid Spencer <rspencer@reidspencer.com>
Fri, 20 Jan 2006 01:31:58 +0000 (01:31 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Fri, 20 Jan 2006 01:31:58 +0000 (01:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25475 91177308-0d34-0410-b5e6-96231b3b80d8

test/Linker/2006-01-19-ConstantPacked.ll [new file with mode: 0644]

diff --git a/test/Linker/2006-01-19-ConstantPacked.ll b/test/Linker/2006-01-19-ConstantPacked.ll
new file mode 100644 (file)
index 0000000..3f7bf46
--- /dev/null
@@ -0,0 +1,14 @@
+; RUN: llvm-as %s -f -o %s.bc ; llvm-link -f -o %s.linked %s.bc
+
+target endian = big
+target pointersize = 32
+target triple = "powerpc-apple-darwin7.7.0"
+deplibs = [ "c", "crtend" ]
+%source = global <4 x int> < int 0, int 1, int 2, int 3 >
+
+implementation   ; Functions:
+
+int %main() {
+entry:
+        ret int 0
+}