hanchenye-llvm-project/clang/test/Sema/arg-invalid.c

7 lines
149 B
C
Raw Normal View History

// RUN: clang %s -fsyntax-only -verify
2007-07-21 13:32:22 +08:00
void bar (void *);
void f11 (z) // expected-error {{may not have 'void' type}}
void z;
{ bar (&z); }