OSDN Git Service

/cp
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / template-id-4.C
1 // PR c++/48157
2
3 struct AType
4 {
5   template<class AA>
6   void SomeFuncTemplate()
7   { }
8 };
9
10 template < class T >
11 struct TTest2
12 {
13   template<T> struct helper;
14
15   template<class U>
16   static void check(helper<&U::template SomeFuncTemplate<int> > *);
17 };
18
19 int main()
20 {
21   TTest2< void (AType::*)() >::check<AType>(0);
22 }