mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 00:56:05 +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
188 B
C
5 lines
188 B
C
// RUN: not %clang_cc1 -fsyntax-only -verify %s
|
|
// PR2958
|
|
static struct foo s; // expected-error { tentative definition has type 'struct foo' that is never completed }
|
|
struct foo *p = &s;
|