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