Sign in
gnu
/
gcc
/
1126a05deadda1ef363e0f78fd802c8ee0ea5b56
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
overload5.C
blob: 5f5e11f9dd1ef621b77fd5f3355f057b26f6c123 [
file
] [
log
] [
blame
]
// Build don't run:
struct
S
{};
struct
T
:
public
S
{};
struct
U
:
public
T
{};
void
f
(
int
T
::*)
{}
void
f
(
int
U
::*);
void
g
(
void
(
T
::*)(
int
))
{}
void
g
(
void
(
U
::*)(
int
));
int
main
()
{
int
S
::*
ip
;
void
(
S
::*
fp
)(
int
);
f
(
ip
);
g
(
fp
);
}