Debian Codegraph @

clang/test/Index/cxx.cl

raw
1 // C++ for OpenCL specific logic.
2 void test(int *ptr) {
3 addrspace_cast<__global int*>(ptr);
4 }
5
6 // RUN: c-index-test -test-load-source all %s -cl-std=clc++ -target spir | FileCheck %s
7 // CHECK: cxx.cl:3:3: CXXAddrspaceCastExpr