URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [rtti/] [typeid3.C] - Rev 816
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();