blob: a07b399249cd0742fdc74a54919eb502624e5ab2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#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();
|