1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/FrontendC/2007-02-16-VariableSizeStructArg.c

8 lines
147 B
C
Raw Normal View History

// RUN: %llvmgcc -S -w %s -o -
2007-02-17 06:44:57 +01:00
// 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];
}