blob: b838b02ab59d008f98c606187dd930bd487658a6 [file] [log] [blame]
Alp Toker3cde2772013-12-08 22:22:31 +00001// RUN: %clang_cc1 -verify -fsyntax-only %s
Eric Christopher06b9d062011-07-26 00:47:54 +00002// PR4214
3typedef void vt;
Alp Toker3cde2772013-12-08 22:22:31 +00004void (*func_ptr)(vt my_vt); // expected-error {{argument may not have 'void' type}}