[libc] Switch to using the generic `<gpuintrin.h>` implementations (#121810)
[llvm-project.git] / clang / test / Index / cxx.cl
blob997d4288669f51b260b52e3caaba6dde8c8173fe
1 // C++ for OpenCL specific logic.
2 void test(int *ptr) {
3 addrspace_cast<__global int*>(ptr);
6 // RUN: c-index-test -test-load-source all %s -cl-std=clc++ -target spir | FileCheck %s
7 // CHECK: cxx.cl:3:3: CXXAddrspaceCastExpr