Clang Project

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