diff options
Diffstat (limited to 'test/Archive/extract.ll')
-rw-r--r-- | test/Archive/extract.ll | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/Archive/extract.ll b/test/Archive/extract.ll new file mode 100644 index 000000000000..3649714259b8 --- /dev/null +++ b/test/Archive/extract.ll @@ -0,0 +1,16 @@ +; This isn't really an assembly file, its just here to run the test. + +; This test just makes sure that llvm-ar can extract bytecode members +; from various style archives. + +; RUN: llvm-ar x %p/GNU.a very_long_bytecode_file_name.bc +; RUN: diff %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc >/dev/null 2>/dev/null + +; RUN: llvm-ar x %p/MacOSX.a very_long_bytecode_file_name.bc +; RUN: diff %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc > /dev/null 2>/dev/null + +; RUN: llvm-ar x %p/SVR4.a very_long_bytecode_file_name.bc +; RUN: diff %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc >/dev/null 2>/dev/null + +; RUN: llvm-ar x %p/xpg4.a very_long_bytecode_file_name.bc +; RUN: diff %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc >/dev/null 2>/dev/null |