Test case for reading MacOSX archives.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18014 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2004-11-19 21:30:15 +00:00
parent 019d5e9d35
commit f6abe385b6

10
test/Archive/MacOSX.ll Normal file
View File

@ -0,0 +1,10 @@
; This isn't really an assembly file, its just here to
; run the following test which tests llvm-ar for compatibility
; reading MacOSX (BSD4.4) style archives.
; RUN: ar t MacOSX.a > Output/osx1
; RUN: llvm-ar t MacOSX.a > Output/osx2
; RUN: diff Output/osx1 Output/osx2
; RUN: cp MacOSX.a Output/MacOSX_mod.a
; RUN: llvm-ranlib Output/MacOSX_mod.a
; RUN: llvm-ar t Output/MacOSX_mod.a