aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/crash23.C
blob: 0c3eac1acbfe826224ba5678a2fb102a591d7a7b (plain)
1
2
3
4
5
6
7
8
9
// PR c++/17642

template<int dim>
int f(const int* const lsh, const int* const bbox, const int* const nghostzones, int d)
{
  for (int d=0; d<dim; ++d)
    lsh[d] - (bbox[2*d+1] ? 0 : nghostzones[d]);
}