1 // RUN: %clang -### %s \
2 // RUN: --target=i386-none-linux \
3 // RUN: --sysroot=%S/Inputs/multilib_64bit_linux_tree/usr \
4 // RUN: -print-multi-directory 2>/dev/null \
5 // RUN: | FileCheck --match-full-lines --check-prefix=CHECK-X86-MULTILIBS %s
7 // CHECK-X86-MULTILIBS: 32
8 // CHECK-X86-MULTILIBS-NOT: {{^.+$}}
10 // RUN: %clang -### %s \
11 // RUN: --target=i386-none-linux -m64 \
12 // RUN: --sysroot=%S/Inputs/multilib_64bit_linux_tree/usr \
13 // RUN: -print-multi-directory 2>/dev/null \
14 // RUN: | FileCheck --match-full-lines --check-prefix=CHECK-X86_64-MULTILIBS %s
16 // CHECK-X86_64-MULTILIBS: .
17 // CHECK-X86_64-MULTILIBS-NOT: {{^.+$}}
19 // RUN: %clang -### %s \
20 // RUN: --target=arm-linux-androideabi21 \
22 // RUN: --gcc-toolchain=%S/Inputs/basic_android_ndk_tree \
23 // RUN: --sysroot=%S/Inputs/basic_android_ndk_tree/sysroot \
24 // RUN: -print-multi-directory 2>/dev/null \
25 // RUN: | FileCheck --match-full-lines --check-prefix=CHECK-ARM-MULTILIBS %s
27 // CHECK-ARM-MULTILIBS: thumb
28 // CHECK-ARM-MULTILIBS-NOT: {{^.+$}}