1// PR c++/60185 2 3template<int> struct A 4{ 5 int i; // { dg-message "" } 6 A() { void foo(int=i); } // { dg-error "" } 7}; 8 9A<0> a; 10