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

12 lines
160 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// 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];
}