2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / typedef.C
blob9cbba5bce5f6b4d0238715ccbf6934776729e9ed
1 // { dg-do assemble  }
2 // PRMS Id: 4687
3 // Bug: g++ misinterprets typedefs of function type in class scope.
5 typedef int (*F1) ();
6 struct A {
7    typedef int F();
8    F *fp;
9    F1 g() { return fp; }        // { dg-bogus "" } typing