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