PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / template / typename19.C
blob735deb2775242d659b2ffbd78afb7ac23d11c348
1 // PR c++/56395
3 struct A
5   template <class T> struct B { };
6 };
8 template <class T> struct D { };
10 template <class T, class U> struct C
12   typedef T _Type;
13   typedef typename T::template B<_Type> _BType;
14   D<_BType> d;
17 template <class T> struct C<T,T>
19   typedef T _Type;
20   typedef typename T::template B<_Type> _BType;
21   D<_BType> d;
24 C<A,A> c;