diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-01-20 01:31:58 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-01-20 01:31:58 +0000 |
commit | f20bf3e629255a6ced5c0e90adce06fd3cc368c9 (patch) | |
tree | 0ff86270f83389b2a09767b85c66f4ab27898818 /test/Linker/2006-01-19-ConstantPacked.ll | |
parent | 98f5dab8a78248c79dbdf70bb5751834a9b962bd (diff) |
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
Diffstat (limited to 'test/Linker/2006-01-19-ConstantPacked.ll')
-rw-r--r-- | test/Linker/2006-01-19-ConstantPacked.ll | 14 |
1 files changed, 14 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 0000000000..3f7bf460d2 --- /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 +} |