blob: 3496d12a3e5f4b16f7d2c15baee464d9e9a1413f [file] [log] [blame]
Guy Benyei736104a2012-12-18 12:30:03 +00001// RUN: %clang_cc1 %s -fsyntax-only
2
3__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) { }