From: Reid Spencer Date: Fri, 20 Jan 2006 01:31:58 +0000 (+0000) Subject: Add a test case for PR697, ensuring the linker works with ConstantPacked. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=f20bf3e629255a6ced5c0e90adce06fd3cc368c9;p=oota-llvm.git Add a test case for PR697, ensuring the linker works with ConstantPacked. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25475 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Linker/2006-01-19-ConstantPacked.ll b/test/Linker/2006-01-19-ConstantPacked.ll new file mode 100644 index 00000000000..3f7bf460d26 --- /dev/null +++ b/test/Linker/2006-01-19-ConstantPacked.ll @@ -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 +}