PR c++/54511
[official-gcc.git] / gcc / testsuite / g++.dg / template / canon-type-13.C
blob4f3702b842d0250b0dd490d810f43b6382886886
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 T>  class A, template<class T>  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;