☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
typedef.C
☽
☼
gcc/testsuite/g++.old-deja/g++.jason/typedef.C
code
plain
raw
1
// { dg-do assemble }
2
// PRMS Id: 4687
3
// Bug: g++ misinterprets typedefs of function type in class scope.
4
5
typedef int (*F1) ();
6
struct A {
7
typedef int F();
8
F *fp;
9
F1 g() { return fp; } // { dg-bogus "" } typing
10
};