aboutsummaryrefslogtreecommitdiff
path: root/test/FrontendC/2007-03-27-VarLengthArray.c
blob: b555690068d9432ba68791d8ad0f6ba4927f792b (plain)
1
2
3
4
5
6
7
// RUN: %llvmgcc -S %s -o - | grep {getelementptr inbounds \\\[0 x i32\\\]}
extern void f(int *);
int e(int m, int n) {
  int x[n];
  f(x);
  return x[m];
}