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