URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [memtemp80.C] - Rev 154
Compare with Previous | Blame | View Log
// { dg-do assemble }
template<typename T> T baz() { return 0; }
struct foo {
template<typename T> static T staticbar() { return 0; }
template<typename T> T bar() { return 0; }
};
void f()
{
foo t;
int i = baz<int>();
int j = foo::staticbar<int>();
int k = t.bar<int>();
}