summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2007-03-01-VarSizeArrayIdx.c
blob: 7a9f89a66e26ba41e9af826a98310f5e61d28211 (about) (plain)
1
2
3
4
5
6
7
// RUN: %clang_cc1 %s -O3 -emit-llvm -o - | grep mul
// PR1233

float foo(int w, float A[][w], int g, int h) {
  return A[g][0];
}