xref: /llvm-project/clang/test/Frontend/sycl-aux-triple.cpp (revision c165a99a1b8861af87e0509a2e14debf2764804b)
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
6