1 | // RUN: %clang_cc1 -verify -fsyntax-only %s |
---|---|
2 | // PR4214 |
3 | typedef void vt; |
4 | void (*func_ptr)(vt my_vt); // expected-error {{argument may not have 'void' type}} |
5 |
1 | // RUN: %clang_cc1 -verify -fsyntax-only %s |
---|---|
2 | // PR4214 |
3 | typedef void vt; |
4 | void (*func_ptr)(vt my_vt); // expected-error {{argument may not have 'void' type}} |
5 |