Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Index / cxx.cl
blob997d4288669f51b260b52e3caaba6dde8c8173fe
1 // C++ for OpenCL specific logic.
2 void test(int *ptr) {
3 addrspace_cast<__global int*>(ptr);
6 // RUN: c-index-test -test-load-source all %s -cl-std=clc++ -target spir | FileCheck %s
7 // CHECK: cxx.cl:3:3: CXXAddrspaceCastExpr