Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
pmf4.C
blob: 709532e8fab21037ee601c5aa481300182f9f231 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// PRMS Id: 4484 (bug 5)
// Bug: g++ can't convert between pmf types.
class
A
;
typedef
void
(
A
::*
pmf
)();
typedef
void
(
A
::*
pmfc
)()
const
;
pmfc p
=
(
pmfc
)(
pmf
)
0
;
// { dg-bogus "" } pmf conversion