llvm-for-llvmta/tools/clang/test/CodeGen/2009-08-14-vararray-crash.c

12 lines
160 B
C

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