Sign in
gnu
/
gcc
/
8353b540e6bf07bc4de944da9c3772c619f86a9c
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
typeid1.C
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
;
}