YouCompleteMe/cpp/llvm/tools/clang/test/Parser/opencl-image-access.cl
Strahinja Val Markovic 1f51a89d39 Adding more llvm/clang files
These were ignored by git accidentally. We want ALL OF THEM since they all came
in the llvm/clang source distribution.
2012-07-05 17:55:45 -07:00

17 lines
355 B
Common Lisp

// RUN: %clang_cc1 %s -fsyntax-only
typedef void* image2d_t;
__kernel void f__ro(__read_only image2d_t a) { }
__kernel void f__wo(__write_only image2d_t a) { }
__kernel void f__rw(__read_write image2d_t a) { }
__kernel void fro(read_only image2d_t a) { }
__kernel void fwo(write_only image2d_t a) { }
__kernel void frw(read_write image2d_t a) { }