xref: /llvm-project/clang/test/Sema/2009-04-22-UnknownSize.c (revision 3cde27785b47813aef5e6c25018ebfb32ea83efc)
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