aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.brendan/template16.C
blob: d62f6bede764c286526cb8e7f5a96791aeb3774f (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }
// GROUPS passed templates
template<class T> class TList {
   typedef void (T::*TVOIDFUNT)();
   typedef T*   (T::*TTPFUNT)(T*);
};

class A;
class B : TList<A> { };