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 | 855d31f8473a9e4b4c57140cbd2e2e1819573b23 (patch) | |
| tree | 330e224f887bc20886281eab01727f7edde4aae1 | |
| parent | 0c5de2864f5c1224d2717100f303c5209a821ab9 (diff) | |
| download | bcm5719-llvm-855d31f8473a9e4b4c57140cbd2e2e1819573b23.tar.gz bcm5719-llvm-855d31f8473a9e4b4c57140cbd2e2e1819573b23.zip | |
Add a test case for PR697, ensuring the linker works with ConstantPacked.
llvm-svn: 25475
| -rw-r--r-- | llvm/test/Regression/Linker/2006-01-19-ConstantPacked.ll | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/llvm/test/Regression/Linker/2006-01-19-ConstantPacked.ll b/llvm/test/Regression/Linker/2006-01-19-ConstantPacked.ll new file mode 100644 index 00000000000..3f7bf460d26 --- /dev/null +++ b/llvm/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 +} |

