1 // PR c++/55878 2 3 #include <typeinfo> 4 5 struct S; 6 7 template <typename T> fn(S * s)8 static bool fn (S *s) 9 { 10 return typeid (*s) == typeid (T); 11 } 12 13 struct S 14 { 15 }; 16 17 bool x = fn<S> (__null); 18