summaryrefslogtreecommitdiff
path: root/test/SemaOpenCL/pipes-1.2-negative.cl
blob: 441a24cf8522734e5a5dba2a6d57bc95997f6315 (plain)
1
2
3
// RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only -cl-std=CL1.2

void foo(read_only pipe int p); // expected-error {{expected parameter declarator}} expected-error {{expected ')'}} expected-note {{to match this '('}}