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