1 // REQUIRES: clang-driver 2 // REQUIRES: x86-registered-target 3 // REQUIRES: nvptx-registered-target 4 // 5 // RUN: %clang -v --target=i386-pc-windows-msvc \ 6 // RUN: --sysroot=%S/Inputs/CUDA-windows 2>&1 %s -### | FileCheck %s 7 // RUN: %clang -v --target=i386-pc-windows-mingw32 \ 8 // RUN: --sysroot=%S/Inputs/CUDA-windows 2>&1 %s -### | FileCheck %s 9 10 // CHECK: Found CUDA installation: {{.*}}/Inputs/CUDA-windows/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v8.0 11 // CHECK: "-cc1" "-triple" "nvptx-nvidia-cuda" 12 // CHECK-SAME: "-fms-extensions" 13 // CHECK-SAME: "-fms-compatibility" 14 // CHECK-SAME: "-fms-compatibility-version= 15