Ted Kremenek | 9f3d942 | 2007-09-26 20:14:22 +0000 | [diff] [blame] | 1 | // RUN: clang %s -parse-ast -verify |
Chris Lattner | 4fc37c5 | 2007-07-21 05:32:22 +0000 | [diff] [blame] | 2 | |
3 | void bar (void *); | ||||
4 | void f11 (z) // expected-error {{may not have 'void' type}} | ||||
5 | void z; | ||||
6 | { bar (&z); } |