1// REQUIRES: system-windows, clang-driver, amdgpu-registered-target
2
3// RUN: %clang -### -target x86_64-pc-windows-msvc \
4// RUN:   -x hip \
5// RUN:   --offload-arch=gfx908:xnack+ \
6// RUN:   -nogpuinc -nogpulib -save-temps \
7// RUN:   %s 2>&1 | FileCheck %s
8
9// CHECK: "-o" "hip-windows-filename-hip-amdgcn-amd-amdhsa-gfx908@xnack+.cui"
10// CHECK-NOT: "-o" "hip-windows-filename-hip-amdgcn-amd-amdhsa-gfx908:xnack+.cui"
11