1// REQUIRES: x86-registered-target
2// REQUIRES: amdgpu-registered-target
3
4// RUN: %clang -### -nogpulib --target=x86_64 -fsyntax-only %s 2>&1 | FileCheck %s
5
6// Check that there are commands for both host- and device-side compilations.
7//
8// CHECK-DAG: "-cc1" {{.*}} "-fcuda-is-device"
9// CHECK-DAG: "-cc1" "-triple" "x86_64"
10// CHECK-NOT: clang-offload-bundler"
11