llvm-project/llvm/test/CFrontend/2007-02-16-VariableSizeStru...

8 lines
144 B
C

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