PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / canon-type-10.C
blob0ff45e7afacaee150188c45924df1093983977ff
1 // Contributed by Dodji Seketeli <dodji@redhat.com>
2 // { dg-do compile }
4 template<class T>
5 struct C
7 };
9 template<class T,
10          template<class TT_T0, template<class TT_T1> class TT_TT> class TT,
11          class U = TT<int, C> >
12 struct S
14   void foo(TT<T, C>);
17 template<class T,
18          template<class TT_T0, template<class TT_T1> class TT_TT> class TT,
19          class U>
20 void
21 S<T, TT, U>::foo(TT<T, C>)