clang/test/Frontend/sycl-aux-triple.cpp
raw| 1 | // RUN: %clang_cc1 %s -triple spir -aux-triple x86_64-unknown-linux-gnu -E -dM | FileCheck %s |
| 2 | // RUN: %clang_cc1 %s -fsycl-is-device -triple spir -aux-triple x86_64-unknown-linux-gnu -E -dM | FileCheck --check-prefix=CHECK-SYCL %s |
| 3 | |
| 4 | // CHECK-NOT:#define __x86_64__ 1 |
| 5 | // CHECK-SYCL:#define __x86_64__ 1 |