aboutsummaryrefslogtreecommitdiff
path: root/test/FrontendC/2004-06-18-VariableLengthArrayOfStructures.c
blob: 3e450a4b936660f98cdbe305ee256b737c750869 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null


struct S { };

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