1 // RUN: %clang_cc1 %s -fsyntax-only 2 3 typedef 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) { } 17