summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2004-05-07-VarArrays.c
blob: 1ef5cf32e0b78e7340232a24f1d03d1963ef1bfb (about) (plain)
1
2
3
4
5
// RUN: %clang_cc1 -emit-llvm %s  -o /dev/null

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