Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.old-deja / g++.jason / typeid1.C
blobec5156e0cd0bcba2d9599980b494258bb6693710
1 // { dg-do compile }
2 #include <typeinfo>
3 #include <iostream>
5 struct foo { double f(int); };
7 int main() {
8   double f (int);
9   const std::type_info &r = typeid (f);
10   std::cout << typeid(f).name() << std::endl;
11   std::cout << typeid(foo::f).name() << std::endl; /* { dg-error "" } */