blob: 6df5f71ff780e8501ed0bad4ecd6dc14f5bd0d7f [file] [log] [blame]
// PR c++/55878
#include <typeinfo>
struct S;
template <typename T>
static bool fn (S *s)
{
return typeid (*s) == typeid (T);
}
struct S
{
};
bool x = fn<S> (__null);