PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / rtti / typeid3.C
bloba07b399249cd0742fdc74a54919eb502624e5ab2
1 #include <typeinfo> 
2  
3 template <template <class> class T> struct A { 
4     void error() { 
5       typeid(T).name(); // { dg-error "missing" }
6     } 
7 }; 
8  
9 template <class T> struct B {}; 
11 template void A<B>::error();