URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [net.C] - Rev 154
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// Bug: g++ doesn't instantiate function templates in instantiate_type.
template <class T> void fn (T t) { }
template <class T> struct A {
void (*p)(T);
A() { p = fn; }
};
A<int> a;
Go to most recent revision | Compare with Previous | Blame | View Log