[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / hip-offload-arch.hip
blobdd65a0e103ec69309da43417632a78dce0ceeecd
1 // RUN: %clang -### --target=x86_64-linux-gnu \
2 // RUN:   --offload-arch=gfx1030 \
3 // RUN:   --offload-arch=gfx1031 \
4 // RUN:   -nogpuinc -nogpulib \
5 // RUN:   %s 2>&1 | FileCheck %s
7 // CHECK: {{"[^"]*clang[^"]*".* "-target-cpu" "gfx1030"}}
8 // CHECK: {{"[^"]*clang[^"]*".* "-target-cpu" "gfx1031"}}