PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / canon-type-13.C
blob5a8d37d18f3d46386834fb705761a03c054c2d0a
1 // Contributed by Dodji Seketeli <dodji@redhat.com>
2 // { dg-do compile }
4 template<class T>
5 struct S0
7 };
9 template<class T>
10 struct S1
14 template<class T, template<class U>  class A, template<class U>  class B = A>
15 struct C
17   B<T> m;
20 void
21 foo()
23   C<int, S0> s;
24   S0<int> s0;
26   s.m = s0;