Test case for xpg4 style archive files.
authorReid Spencer <rspencer@reidspencer.com>
Fri, 19 Nov 2004 04:46:10 +0000 (04:46 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Fri, 19 Nov 2004 04:46:10 +0000 (04:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17984 91177308-0d34-0410-b5e6-96231b3b80d8

test/Archive/xpg4.ll [new file with mode: 0644]

diff --git a/test/Archive/xpg4.ll b/test/Archive/xpg4.ll
new file mode 100644 (file)
index 0000000..19c8679
--- /dev/null
@@ -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