PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / template / typedef38.C
blob42abbbb158e84c41304ef321ba449dd122bf3928
1 // Origin: PR c++/46394
2 // { dg-do compile { target c++11 } }
4 template<class T>
5 struct S0
7   typedef T type;
8 };
10 template<class... X>
11 struct S1
13   typedef int I;
16 struct A
18   template<class...U, class V=typename S1<typename S0<U>::type...>::I>
19   A(U...u);
22 int
23 main()
25   A a(1, 2);