Chris Lattner | 3b427b3 | 2007-10-11 00:18:28 +0000 | [diff] [blame] | 1 | // RUN: clang %s -fsyntax-only -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); } |