Test case for xpg4 style archive files.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17984 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Archive/xpg4.ll b/test/Archive/xpg4.ll
new file mode 100644
index 0000000..19c8679
--- /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