// PR c++/28879 // { dg-options "" } struct A { int i; A(): i(1) {} }; template void foo() { int x[A().i]; } void f() { foo<1>(); }