Guy Benyei | 7f92f2d | 2012-12-18 14:30:41 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -fsyntax-only |
2 | |||||
Guy Benyei | 7f92f2d | 2012-12-18 14:30:41 +0000 | [diff] [blame] | 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) { } |