aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Archive/SVR4.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Archive/SVR4.ll b/test/Archive/SVR4.ll
new file mode 100644
index 0000000000..1f82e5d100
--- /dev/null
+++ b/test/Archive/SVR4.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 SVR4 style archives.
+
+; RUN: ar t SVR4.a > %t1
+; RUN: llvm-ar t SVR4.a > %t2
+; RUN: diff %t1 %t2