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