[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Driver / hip-offload-arch.hip
blob12b28bd2c89e38a678ed2f284fb26033b5c12834
1 // REQUIRES: x86-registered-target, amdgpu-registered-target
3 // RUN: %clang -### --target=x86_64-linux-gnu \
4 // RUN:   --offload-arch=gfx1030 \
5 // RUN:   --offload-arch=gfx1031 \
6 // RUN:   -nogpuinc -nogpulib \
7 // RUN:   %s 2>&1 | FileCheck %s
9 // CHECK: {{"[^"]*clang[^"]*".* "-target-cpu" "gfx1030"}}
10 // CHECK: {{"[^"]*clang[^"]*".* "-target-cpu" "gfx1031"}}