From f6abe385b65ec836dc8a217e0f9b3f7e5cd6acb7 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Fri, 19 Nov 2004 21:30:15 +0000 Subject: [PATCH] Test case for reading MacOSX archives. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18014 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Archive/MacOSX.ll | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/Archive/MacOSX.ll diff --git a/test/Archive/MacOSX.ll b/test/Archive/MacOSX.ll new file mode 100644 index 00000000000..aa7a0c77c54 --- /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 -- 2.34.1