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

6 lines
117 B
C
Raw Normal View History

// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
2004-11-07 06:41:00 +08:00
2004-05-08 02:38:59 +08:00
int foo(int len, char arr[][len], int X) {
return arr[X][0];
}