Make sure we can read an archive after it has been ranlib'd
[oota-llvm.git] / test / Archive / SVR4.ll
1 ; This isn't really an assembly file, its just here to
2 ; run the following test which tests llvm-ar for compatibility
3 ; reading SVR4 style archives.
4
5 ; RUN: ar t SVR4.a > Output/svr1
6 ; RUN: llvm-ar t SVR4.a > Output/svr2
7 ; RUN: diff Output/svr1  Output/svr2
8 ; RUN: cp SVR4.a Output/SVR4_mod.a
9 ; RUN: llvm-ranlib Output/SVR4_mod.a
10 ; RUN: llvm-ar t Output/SVR4_mod.a