[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Driver / hip-syntax-only.hip
blob71bc46fa86e89a6a3b5c4e8a40b173da9ff57756
1 // REQUIRES: x86-registered-target
2 // REQUIRES: amdgpu-registered-target
4 // RUN: %clang -### -nogpulib --target=x86_64 -fsyntax-only %s 2>&1 | FileCheck %s
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"