blob: 313587c1d2259a353517a2345c9ed03a58fe4071 [file] [log] [blame]
Guy Benyei7f92f2d2012-12-18 14:30:41 +00001// RUN: %clang_cc1 %s -fsyntax-only
2
3typedef void* image2d_t;
4
5__kernel void f__ro(__read_only image2d_t a) { }
6
7__kernel void f__wo(__write_only image2d_t a) { }
8
9__kernel void f__rw(__read_write image2d_t a) { }
10
11
12__kernel void fro(read_only image2d_t a) { }
13
14__kernel void fwo(write_only image2d_t a) { }
15
16__kernel void frw(read_write image2d_t a) { }