blob: 779b3efcf6ae61ca2ad006a027ca761058f6dac3 [file] [log] [blame]
Rafael Espindolafc699872013-07-11 13:24:27 +00001Test the 'd' operation in llvm-ar
2
3REQUIRES: shell
4
5RUN: cd %T
6
7RUN: rm -f test.a
8RUN: cp %p/Inputs/GNU.a test.a
9RUN: llvm-ar d test.a very_long_bytecode_file_name.bc
10RUN: llvm-ar t test.a | FileCheck %s
11
12RUN: rm -f test.a
13RUN: cp %p/Inputs/MacOSX.a test.a
14RUN: llvm-ar d test.a very_long_bytecode_file_name.bc
15RUN: llvm-ar t test.a | FileCheck %s
16
17RUN: rm -f test.a
18RUN: cp %p/Inputs/SVR4.a test.a
19RUN: llvm-ar d test.a very_long_bytecode_file_name.bc
20RUN: llvm-ar t test.a | FileCheck %s
21
22RUN: rm -f test.a
23RUN: cp %p/Inputs/xpg4.a test.a
24RUN: llvm-ar d test.a very_long_bytecode_file_name.bc
25RUN: llvm-ar t test.a | FileCheck %s
26
27
28CHECK: evenlen
29CHECK-NEXT: oddlen
30CHECK-NEXT: IsNAN.o