Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.dg / rtti / typeid2.C
blob0dbcc598b9d34cab57ac2324f83270c49f50b187
1 // { dg-do run }
3 #include <typeinfo>
5 template <typename T>  const char *print_type (const T &) {
6   return typeid(T).name();
9 /* no template */      void pp1 (int) {}
10 template <typename X>  void pp2 (X)   {}
12 int main () {
13   if (print_type (&pp1) != print_type (&pp2<int>))
14     return 1;