typedef.C   [plain text]


// PRMS Id: 4687
// Bug: g++ misinterprets typedefs of function type in class scope.
// Build don't link:

typedef int (*F1) ();
struct A {
   typedef int F();
   F *fp;
   F1 g() { return fp; }	// gets bogus error - typing
};