minix/external/bsd/llvm/dist/clang/test/CodeGen/2009-08-14-vararray-crash.c

12 lines
160 B
C
Raw Normal View History

// RUN: %clang_cc1 -emit-llvm < %s
void sum1(int rb) {
typedef unsigned char imgrow[rb];
typedef imgrow img[rb];
const img *br;
int y;
(*br)[y];
}