1// REQUIRES: clang-driver, x86-registered-target, amdgpu-registered-target 2 3// RUN: %clang -### -target x86_64-unknown-linux-gnu --offload-arch=gfx906 \ 4// RUN: -fsanitize=address \ 5// RUN: -nogpuinc -nogpulib \ 6// RUN: %s 2>&1 | FileCheck %s 7 8// CHECK-NOT: {{"[^"]*clang[^"]*".* "-fcuda-is-device".* "-fsanitize=address"}} 9// CHECK: {{"[^"]*clang[^"]*".* "-triple" "x86_64-unknown-linux-gnu".* "-fsanitize=address"}} 10