aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC/2004-05-07-VarArrays.c
blob: 20412983e90e85bb28feacfbc8ba45a11b3a13c7 (plain)
1
2
3
4
5
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null

int foo(int len, char arr[][len], int X) {
  return arr[X][0];
}