1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 12:02:58 +02:00
llvm-mirror/test/Archive/extract.ll
Chandler Carruth 941beb26e9 Avoid writing to an arbitrary filename during the test run by writing to
a file descriptor.

llvm-svn: 134355
2011-07-02 20:43:18 +00:00

17 lines
639 B
LLVM

; 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 p %p/GNU.a very_long_bytecode_file_name.bc | \
; RUN: cmp -s %p/very_long_bytecode_file_name.bc -
; RUN: llvm-ar p %p/MacOSX.a very_long_bytecode_file_name.bc | \
; RUN: cmp -s %p/very_long_bytecode_file_name.bc -
; RUN: llvm-ar p %p/SVR4.a very_long_bytecode_file_name.bc | \
; RUN: cmp -s %p/very_long_bytecode_file_name.bc -
; RUN: llvm-ar p %p/xpg4.a very_long_bytecode_file_name.bc |\
; RUN: cmp -s %p/very_long_bytecode_file_name.bc -