xref: /aosp_15_r20/external/clang/test/SemaOpenCL/pipes-1.2-negative.cl (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li// RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only -cl-std=CL1.2
2*67e74705SXin Li
3*67e74705SXin Livoid foo(read_only pipe int p); // expected-error {{expected parameter declarator}} expected-error {{expected ')'}} expected-note {{to match this '('}}
4