llvm/test/FrontendC/2009-04-22-UnknownSize.c
2010-04-30 17:42:30 +00:00

5 lines
125 B
C

// RUN: not %llvmgcc -O1 %s -S -o /dev/null |& grep {error: storage size}
// PR2958
static struct foo s;
struct foo *p = &s;