Sign in
gnu
/
gcc
/
75bbfcfa8623f5b211475a54f52ced32201575e7
/
.
/
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
;
}