diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-11-19 21:30:15 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-11-19 21:30:15 +0000 |
commit | f6abe385b65ec836dc8a217e0f9b3f7e5cd6acb7 (patch) | |
tree | d1a0bb91088e3e45b47e984c739ae95a6801ed40 /test/Archive | |
parent | 019d5e9d35255294ec68c70190f6bafc6edcd42b (diff) |
Test case for reading MacOSX archives.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18014 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Archive')
-rw-r--r-- | test/Archive/MacOSX.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Archive/MacOSX.ll b/test/Archive/MacOSX.ll new file mode 100644 index 0000000000..aa7a0c77c5 --- /dev/null +++ b/test/Archive/MacOSX.ll @@ -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 |