mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 01:56:06 +00:00

Add -verify and update the test directives to match current expectations. Also add a FIXME to an ObjC test that has expected-* directives but no -verify. llvm-svn: 196737
5 lines
155 B
C
5 lines
155 B
C
// RUN: %clang_cc1 -verify -fsyntax-only %s
|
|
// PR4214
|
|
typedef void vt;
|
|
void (*func_ptr)(vt my_vt); // expected-error {{argument may not have 'void' type}}
|