summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2009-08-14-vararray-crash.c
blob: 7f489bcff1fc3d3b84012b76c39ea1e88dfe12b8 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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];
}