2017-06-14 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc.git] / gcc / testsuite / g++.dg / template / typeid1.C
blob6df5f71ff780e8501ed0bad4ecd6dc14f5bd0d7f
1 // PR c++/55878
3 #include <typeinfo>
5 struct S;
7 template <typename T>
8 static bool fn (S *s)
10   return typeid (*s) == typeid (T);
13 struct S
17 bool x = fn<S> (__null);