llvm-project/llvm/test/CFrontend/2007-03-01-VarSizeArrayIdx.c

8 lines
133 B
C

// RUN: %llvmgcc %s -O3 -S -o - -emit-llvm | grep mul
// PR1233
float foo(int w, float A[][w], int g, int h) {
return A[g][0];
}