[OpenACC] Treat 'delete' as a valid clause during parsing in C++ mode
[llvm-project.git] / clang / test / Driver / hip-temps-windows.hip
blobac1ac208a65dc5e1e0e74064862cc2c11b0f6760
1 // REQUIRES: x86-registered-target
2 // REQUIRES: amdgpu-registered-target
3 // REQUIRES: system-windows
5 // Check no temporary files or directores are left after compilation.
6 // RUN: rm -rf %t/mytmp
7 // RUN: mkdir -p %t/mytmp
8 // RUN: env TMP="%t/mytmp" %clang --target=x86_64-pc-windows-msvc -nogpulib -nogpuinc \
9 // RUN:   --rocm-path=%S/Inputs/rocm -nostdinc -nostdlib -c \
10 // RUN:   --offload-arch=gfx1030 -emit-llvm -v %s 2>&1 | \
11 // RUN:   FileCheck -check-prefixes=CHECK %s
12 // RUN: ls %t/mytmp >%t/mytmp.txt 2>&1
13 // RUN: touch %t/empty.txt
14 // RUN: diff %t/mytmp.txt %t/empty.txt
16 // CHECK: -o "{{.*}}mytmp{{/|\\\\}}hip-temps-windows-gfx1030-{{.*}}.bc"
18 int main() {}