1 2 3 4 5 6 7
// PR c++/39055 struct A { int i; // { dg-message "" } A() { void foo(int=i); } // { dg-error "" } };