Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.jason/typedef2.C

raw
1 // { dg-do run }
2 // PRMS Id: 5367
3 // Bug: the nested name of C::func gets hosed.
4
5 struct C {
6 typedef int func(int *, int *);
7 };
8
9 int
10 main()
11 {
12 C::func *handler;
13 }