minix/external/bsd/llvm/dist/clang/test/CodeGen/2004-05-07-VarArrays.c

6 lines
113 B
C
Raw Normal View History

// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
int foo(int len, char arr[][len], int X) {
return arr[X][0];
}