From 33216c9f527ac88fc27ffbc36f0f7c5aa8990922 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Fri, 20 Jan 2006 01:31:58 +0000 Subject: [PATCH] Add a test case for PR697, ensuring the linker works with ConstantPacked. llvm-svn: 25475 --- .../Regression/Linker/2006-01-19-ConstantPacked.ll | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/Regression/Linker/2006-01-19-ConstantPacked.ll diff --git a/test/Regression/Linker/2006-01-19-ConstantPacked.ll b/test/Regression/Linker/2006-01-19-ConstantPacked.ll new file mode 100644 index 00000000000..3f7bf460d26 --- /dev/null +++ b/test/Regression/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 +}