1 // PRMS Id: 4687 2 // Bug: g++ misinterprets typedefs of function type in class scope. 3 // Build don't link: 4 5 typedef int (*F1) (); 6 struct A { 7 typedef int F(); 8 F *fp; gA9 F1 g() { return fp; } // gets bogus error - typing 10 }; 11