llvm/test/FrontendC/2009-04-22-UnknownSize.c
Duncan Sands d7b2f7ffce Testcase for PR2958.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69818 91177308-0d34-0410-b5e6-96231b3b80d8
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;