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

6 lines
120 B
C

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