// PR c++/29886

struct A {
  static int x[1];
};

void foo(int i)
{
  if (int(A::x[i])) {}
}



syntax highlighted by Code2HTML, v. 0.9.1