llvm-for-llvmta/tools/clang/test/Index/cxx.cl
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02:00

8 lines
215 B
Common Lisp

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