1 // RUN: not %clang_cc1 -fsyntax-only -verify %s
2 // PR2958
3 static struct foo s; // expected-error { tentative definition has type 'struct foo' that is never completed }
4 struct foo *p = &s;
5