Sign in
gnu
/
gcc
/
8353b540e6bf07bc4de944da9c3772c619f86a9c
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
ptrmem1.C
blob: e14c726c1d7241ddf17b0e32ea575ce52e2376fd [
file
] [
log
] [
blame
]
class
foo
{
public
:
template
<
class
T
>
T bar
()
{
return
7
;
}
};
int
main
()
{
foo f
;
int
(
foo
::*
s
)()
=
&
foo
::
template
bar
<int>
;
if
((
f
.*
s
)()
==
7
)
return
0
;
else
return
1
;
}