summaryrefslogtreecommitdiff
path: root/clang/test/Sema/2009-07-17-VoidParameter.c
blob: 68d1b1ec33ad41654a1c8a51789c6c1851d69b41 (about) (plain)
1
2
3
4
// RUN: not %clang_cc1 -emit-llvm %s -o -
// PR4214
typedef void vt;
void (*func_ptr)(vt my_vt); // expected-error {argument may not have 'void' type}