Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/template/template-id-4.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 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 } |