Test case for reading SVR4 style archives.
authorReid Spencer <rspencer@reidspencer.com>
Fri, 19 Nov 2004 04:33:13 +0000 (04:33 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Fri, 19 Nov 2004 04:33:13 +0000 (04:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17982 91177308-0d34-0410-b5e6-96231b3b80d8

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

diff --git a/test/Archive/SVR4.ll b/test/Archive/SVR4.ll
new file mode 100644 (file)
index 0000000..1f82e5d
--- /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 SVR4 style archives.
+
+; RUN: ar t SVR4.a > %t1
+; RUN: llvm-ar t SVR4.a > %t2
+; RUN: diff %t1 %t2