summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-11-19 04:46:10 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-11-19 04:46:10 +0000
commited26b319462f48c619641b8da0693245e72a59b6 (patch)
treeff144de77699628b3fa42a2c5f407f1fb521dc69 /test
parentb7bd81963d9c272f04de5675bc1df9ec66078751 (diff)
downloadllvm-ed26b319462f48c619641b8da0693245e72a59b6.tar.gz
llvm-ed26b319462f48c619641b8da0693245e72a59b6.tar.bz2
llvm-ed26b319462f48c619641b8da0693245e72a59b6.tar.xz
Test case for xpg4 style archive files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17984 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Archive/xpg4.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Archive/xpg4.ll b/test/Archive/xpg4.ll
new file mode 100644
index 0000000000..19c867963c
--- /dev/null
+++ b/test/Archive/xpg4.ll
@@ -0,0 +1,7 @@
+; This isn't really an assembly file, its just here to
+; run the following test which tests llvm-ar for compatibility
+; reading xpg4 style archives.
+
+; RUN: ar t xpg4.a > Output/xpg1
+; RUN: llvm-ar t SVR4.a > Output/xpg2
+; RUN: diff Output/xpg1 Output/xpg2