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