Files
clang-p2996/clang/test/Parser/opencl-image-access.cl
Guy Benyei d8a08ea98d Re-commit r170428 changes with Linux style file endings.
Add OpenCL images as clang builtin types.

llvm-svn: 170432
2012-12-18 14:38:23 +00:00

15 lines
329 B
Common Lisp

// RUN: %clang_cc1 %s -fsyntax-only
__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) { }