minix/external/bsd/llvm/dist/clang/test/CodeGen/2004-06-18-VariableLengthArrayOfStructures.c

11 lines
118 B
C
Raw Normal View History

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