llvm-project/llvm/test/FrontendC/2004-05-07-VarArrays.c

6 lines
117 B
C

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