Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
p11012.C
blob: b851f2c44e2b847da98e38be04486e77a40e6f71 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// { dg-options "-Wno-pmf-conversions" }
// prms-id: 11012
class
Foo
{
public
:
int
f
(){
return
0
;
}
};
void
foo
()
{
void
*
p1
=
&
Foo
::
f
;
const
void
*
p2
=
&
Foo
::
f
;
int
(*
p3
)()
=
&
Foo
::
f
;
}