llvm-project/clang/test/Index/cxx.cl

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
215 B
Common Lisp
Raw Normal View History

// 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