clang/test/Driver/hip-syntax-only.hip
raw| 1 | // RUN: %clang -### -nogpulib -nogpuinc --target=x86_64 -fsyntax-only %s 2>&1 | FileCheck %s |
| 2 | |
| 3 | // Check that there are commands for both host- and device-side compilations. |
| 4 | // |
| 5 | // CHECK-DAG: "-cc1" {{.*}} "-fcuda-is-device" |
| 6 | // CHECK-DAG: "-cc1" "-triple" "x86_64" |
| 7 | // CHECK-NOT: clang-offload-bundler" |