blob: f6cd45bc66420d82daddc3d3a2d94579e8e6bbee [file] [log] [blame]
#include <typeinfo>
#include <iostream.h>
struct foo { double f(int); };
int main() {
double f (int);
const std::type_info &r = typeid (f);
cout << typeid(f).name() << endl;
cout << typeid(foo::f).name() << endl;
}