1 namespace N 2 { 3 struct A; f()4 int f() { 5 struct N::A { // { dg-error "" } 6 A() {} 7 }; 8 return 0; 9 } 10 } 11