URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [memtemp82.C] - Rev 716
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
struct foo {
template<typename T> T bar() { return staticbar<T>( this ); }
template<typename T> static T staticbar( foo* ) { return 0; }
};
void f()
{
foo t;
int k = t.bar<int>();
}
Go to most recent revision | Compare with Previous | Blame | View Log