llvm-mirror/test/FrontendC/2009-04-22-UnknownSize.c
Duncan Sands bd414a0baa Testcase for PR2958.
llvm-svn: 69818
2009-04-22 18:55:17 +00:00

5 lines
112 B
C

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