URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [friend23.C] - Rev 749
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
template <class T = int> // { dg-message "note: original definition" }
struct S
{
template <class U = int>
friend class S; // { dg-error "redefinition of default argument" }
};
template struct S<int>;
Go to most recent revision | Compare with Previous | Blame | View Log