PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / template / type2.C
blob509c4820d6be380fce69ee433b97c6307b5b26a6
1 // { dg-do compile }
2 // Origin: Juan Carlos Arevalo-Baeza <jcab@JCABs-Rumblings.com>
4 // PR c++/8442
5 // Type template parameter incorrectly treated as template template
6 // parameter.
8 template <typename T> struct A {};
10 template <typename T> struct B
12   template <typename U> struct C {};
13   template <typename U> A<C<U> > foo(U);
16 B<void> b;