FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / typedef.C
blobc681c82d08d2baec74eee3443760c928d8137ae8
1 // PRMS Id: 4687
2 // Bug: g++ misinterprets typedefs of function type in class scope.
3 // Build don't link:
5 typedef int (*F1) ();
6 struct A {
7    typedef int F();
8    F *fp;
9    F1 g() { return fp; }        // gets bogus error - typing