Sign in
gnu
/
gcc
/
609d1c1bf0472f9d9415b0b124603348dbcd9e4e
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
overload10.C
blob: 19dd174a0196f92f773f10b8664b0e4b5091f8ff [
file
] [
log
] [
blame
]
struct
B
{
int
f
(
int
)
{
return
1
;
}
};
struct
D
{
template
<
class
T
>
int
f
(
T
)
{
return
0
;
}
};
int
main
()
{
int
(
D
::*
g
)(
int
)
=
&
D
::
f
;
D d
;
return
(
d
.*
g
)(
0
);
}