testcase from neil

llvm-svn: 40173
This commit is contained in:
Chris Lattner 2007-07-21 05:32:22 +00:00
parent e386fab8ac
commit fd5e05f5ce
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
// RUN: clang %s -parse-ast-check
void bar (void *);
void f11 (z) // expected-error {{may not have 'void' type}}
void z;
{ bar (&z); }