brintos

brintos / llvm-project-archived public Read only

0
0
Text · 228 B · 997d428 Raw
8 lines · plain
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++ -target spir | FileCheck %s7// CHECK: cxx.cl:3:3: CXXAddrspaceCastExpr8