xref: /llvm-project/clang/test/Driver/hip-windows-filename.hip (revision 12949c952c4fbad776a860c003ccf176973278a0)
1// REQUIRES: system-windows
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+.hipi"
10// CHECK-NOT: "-o" "hip-windows-filename-hip-amdgcn-amd-amdhsa-gfx908:xnack+.hipi"
11