aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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