llvm-for-llvmta/tools/clang/test/CodeGen/2004-05-07-VarArrays.c

6 lines
113 B
C

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