llvm-6502/test/CFrontend/2007-03-01-VarSizeArrayIdx.c
Chris Lattner 68cbcee824 testcase for PR1233
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34840 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-02 07:29:59 +00:00

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];
}