llvm-for-llvmta/tools/clang/test/SemaOpenCL/invalid-pipes-cl1.2.cl

4 lines
221 B
Common Lisp
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// 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 '('}}