1// 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) { } 15