summaryrefslogtreecommitdiff
path: root/clang/test/Sema/2009-04-22-UnknownSize.c
blob: 9f717408b5ea3aacf6c926d0f4ad0a8df9f54c12 (about) (plain)
1
2
3
4
// RUN: not %clang_cc1 %s -emit-llvm -o -
// PR2958
static struct foo s; // expected-error { tentative definition has type 'struct foo' that is never completed }
struct foo *p = &s;