Make sure we can read an archive after it has been ranlib'd
[oota-llvm.git] / test / Archive / xpg4.ll
index 19c867963cacc73a7e401c013faad79bf159dfdb..14c1a3874ba3ee6738ccd8cb3e746ed1e51b26e1 100644 (file)
@@ -3,5 +3,8 @@
 ; reading xpg4 style archives.
 
 ; RUN: ar t xpg4.a > Output/xpg1
-; RUN: llvm-ar t SVR4.a > Output/xpg2
+; RUN: llvm-ar t xpg4.a > Output/xpg2
 ; RUN: diff Output/xpg1 Output/xpg2
+; RUN: cp xpg4.a Output/xpg4_mod.a
+; RUN: llvm-ranlib Output/xpg4_mod.a
+; RUN: llvm-ar t Output/xpg4_mod.a