summaryrefslogtreecommitdiff
path: root/test/FrontendC/2007-03-01-VarSizeArrayIdx.c
blob: a3d480cafe6681a39a2f2006c8b6ed03d7c05c7c (plain)
1
2
3
4
5
6
7
// 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];
}