URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [rtti/] [typeid3.C] - Rev 706
Go to most recent revision | Compare with Previous | Blame | View Log
#include <typeinfo>
template <template <class> class T> struct A {
void error() {
typeid(T).name(); // { dg-error "missing" }
}
};
template <class T> struct B {};
template void A<B>::error();
Go to most recent revision | Compare with Previous | Blame | View Log