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.0rc2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [memtemp70.C] - Rev 384
Compare with Previous | Blame | View Log
// { dg-do assemble }
template <class T>
class X {
public:
T x;
};
class Y {
public:
template <class T> static void f(X<T>& a) {}
void g(void);
};
void
Y::g(void)
{
X<int> a;
f(a);
}