aboutsummaryrefslogtreecommitdiffstats
path: root/test/Archive
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-11-19 04:33:13 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-11-19 04:33:13 +0000
commit30ce0f0c55ddd2a99c6c06bccf1a0821b2215f2e (patch)
treef68a2cbb1c3624493fcf977234e264e03ba0e44d /test/Archive
parent57646ec44eb2ff59b99c3b5e4fe0e5084462b2f3 (diff)
downloadexternal_llvm-30ce0f0c55ddd2a99c6c06bccf1a0821b2215f2e.zip
external_llvm-30ce0f0c55ddd2a99c6c06bccf1a0821b2215f2e.tar.gz
external_llvm-30ce0f0c55ddd2a99c6c06bccf1a0821b2215f2e.tar.bz2
Test case for reading SVR4 style archives.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17982 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Archive')
-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 0000000..1f82e5d
--- /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