blob: c681c82d08d2baec74eee3443760c928d8137ae8 [file] [log] [blame]
// 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
};