llvm-mirror/test/CFrontend/2004-06-18-VariableLengthArrayOfStructures.c
2007-01-17 07:59:14 +00:00

11 lines
125 B
C

// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
struct S { };
int xxxx(int a) {
struct S comps[a];
comps[0];
}