YouCompleteMe/cpp/llvm/tools/clang/test/CodeGenOpenCL/local.cl

8 lines
174 B
Common Lisp
Raw Normal View History

// RUN: %clang_cc1 %s -ffake-address-space-map -emit-llvm -o - | FileCheck %s
__kernel void foo(void) {
// CHECK: @foo.i = internal addrspace(2)
__local int i;
++i;
}