Testcase for PR2958.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69818 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan Sands 2009-04-22 18:55:17 +00:00
parent e2a17468d1
commit d7b2f7ffce

View File

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