URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [memtemp64.C] - Rev 516
Compare with Previous | Blame | View Log
// { dg-do assemble }
template <class T>
struct S1 {};
template <class T>
void f(T);
template <class C>
struct S2
{
template <class T>
void f<S1<T> >(T) {} // { dg-error "" } bad specialization.
};
template <class T>
struct S3
{
friend class S2<T>;
};