repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
typename19.C
blob
735deb2775242d659b2ffbd78afb7ac23d11c348
1
// PR c++/56395
2
3
struct A
4
{
5
template <class T> struct B { };
6
};
7
8
template <class T> struct D { };
9
10
template <class T, class U> struct C
11
{
12
typedef T _Type;
13
typedef typename T::template B<_Type> _BType;
14
D<_BType> d;
15
};
16
17
template <class T> struct C<T,T>
18
{
19
typedef T _Type;
20
typedef typename T::template B<_Type> _BType;
21
D<_BType> d;
22
};
23
24
C<A,A> c;