testcase for PR1170
llvm-svn: 34366
This commit is contained in:
parent
f37f0479b8
commit
6d6d70ba18
7
llvm/test/CFrontend/2007-02-16-VariableSizeStructArg.c
Normal file
7
llvm/test/CFrontend/2007-02-16-VariableSizeStructArg.c
Normal 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];
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user