aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC/2009-04-22-UnknownSize.c
blob: 7db9c0730c806b898f1f375e9467aca77cce8772 (plain)
1
2
3
4
// RUN: not %llvmgcc -O1 %s -S -o /dev/null |& grep {error: storage size}
// PR2958
static struct foo s;
struct foo *p = &s;