Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
pmf.C
blob: b601dd9ffff89de4662bf89944be8de4e1bea80f [
file
] [
log
] [
blame
]
// { dg-do assemble }
// PRMS Id: 4333
// Bug: g++ can't deal with casts to pointer to member function.
class
A
{
};
typedef
void
(
A
::*
pmf
)();
void
foo
()
{
(
pmf
)
0
;
}