URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-dev/] [fsf-gcc-snapshot-1-mar-12/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [canon-type-13.C] - Rev 693
Go to most recent revision | Compare with Previous | Blame | View Log
// 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 T> class A, template<class T> class B = A>
struct C
{
B<T> m;
};
void
foo()
{
C<int, S0> s;
S0<int> s0;
s.m = s0;
}
Go to most recent revision | Compare with Previous | Blame | View Log