llvm-project/llvm/test/FrontendC/2009-04-22-UnknownSize.c

5 lines
112 B
C
Raw Normal View History

2009-04-23 02:55:17 +08:00
// RUN: not %llvmgcc -O1 %s -S |& grep {error: storage size}
// PR2958
static struct foo s;
struct foo *p = &s;