testcase for PR1170

llvm-svn: 34366
This commit is contained in:
Chris Lattner 2007-02-17 05:44:57 +00:00
parent f37f0479b8
commit 6d6d70ba18

View File

@ -0,0 +1,7 @@
// RUN: %llvmgcc -S %s -o -
// PR1170
int f(int a, struct {int b[a];} c) { return c.b[0]; }
int g(struct {int b[1];} c) {
return c.b[0];
}