Sign in
gnu
/
gcc
/
14bc1c0e15633ea781d76d0ae4274b2e27d51db5
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
typeid1.C
blob: 0f44cb75ed18a978819a22da131d028b22a71d50 [
file
] [
log
] [
blame
]
#include
<typeinfo>
#include
<iostream>
struct
foo
{
double
f
(
int
);
};
int
main
()
{
double
f
(
int
);
const
std
::
type_info
&
r
=
typeid
(
f
);
std
::
cout
<<
typeid
(
f
).
name
()
<<
std
::
endl
;
std
::
cout
<<
typeid
(
foo
::
f
).
name
()
<<
std
::
endl
;
}