blob: 5a8d37d18f3d46386834fb705761a03c054c2d0a [file] [log] [blame]
// Contributed by Dodji Seketeli <dodji@redhat.com>
// { dg-do compile }
template<class T>
struct S0
{
};
template<class T>
struct S1
{
};
template<class T, template<class U> class A, template<class U> class B = A>
struct C
{
B<T> m;
};
void
foo()
{
C<int, S0> s;
S0<int> s0;
s.m = s0;
}