aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.jason/typedef2.C
blob: 63c19bd16f5d938de5715cc2ef9f72c46f6a8ee6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do run  }
// PRMS Id: 5367
// Bug: the nested name of C::func gets hosed.

struct C {
  typedef int func(int *, int *);
};

int
main()
{
   C::func *handler;
}