mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-22 00:37:49 +00:00
testcase for PR1170
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34366 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4b0d93a7b5
commit
7824cc625b
7
test/CFrontend/2007-02-16-VariableSizeStructArg.c
Normal file
7
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