29 lines · c
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 %s6 7// CHECK-X86-MULTILIBS: 328// CHECK-X86-MULTILIBS-NOT: {{^.+$}}9 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 %s15 16// CHECK-X86_64-MULTILIBS: .17// CHECK-X86_64-MULTILIBS-NOT: {{^.+$}}18 19// RUN: %clang -### %s \20// RUN: --target=arm-linux-androideabi21 \21// RUN: -mthumb \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 %s26 27// CHECK-ARM-MULTILIBS: thumb28// CHECK-ARM-MULTILIBS-NOT: {{^.+$}}29