summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2004-06-18-VariableLengthArrayOfStructures.c
blob: abf78fb0955660c6061222b33f5c2e9436092646 (about) (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %clang_cc1 -emit-llvm %s  -o /dev/null


struct S { };

int xxxx(int a) {
  struct S comps[a];
  comps[0];
}