// PR c++/55878 #include struct S; template static bool fn (S *s) { return typeid (*s) == typeid (T); } struct S { }; bool x = fn (__null);