blob: 9cbba5bce5f6b4d0238715ccbf6934776729e9ed [file] [log] [blame]
// { dg-do assemble }
// PRMS Id: 4687
// Bug: g++ misinterprets typedefs of function type in class scope.
typedef int (*F1) ();
struct A {
typedef int F();
F *fp;
F1 g() { return fp; } // { dg-bogus "" } typing
};