add opensuse toolchain support, patch by Ismail Donmez!
[clang/stm8.git] / test / Parser / opencl-image-access.cl
blob313587c1d2259a353517a2345c9ed03a58fe4071
1 // RUN: %clang_cc1 %s -fsyntax-only
3 typedef void* image2d_t;
5 __kernel void f__ro(__read_only image2d_t a) { }
7 __kernel void f__wo(__write_only image2d_t a) { }
9 __kernel void f__rw(__read_write image2d_t a) { }
12 __kernel void fro(read_only image2d_t a) { }
14 __kernel void fwo(write_only image2d_t a) { }
16 __kernel void frw(read_write image2d_t a) { }