bolt/deps/llvm-18.1.8/clang/test/Index/cxx.cl

8 lines
228 B
Common Lisp
Raw Normal View History

2025-02-14 19:21:04 +01:00
// 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++ -target spir | FileCheck %s
// CHECK: cxx.cl:3:3: CXXAddrspaceCastExpr