llvm-6502/test/CFrontend/2007-02-16-VariableSizeStructArg.c

8 lines
144 B
C
Raw Normal View History

// 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];
}