pmf.C   [plain text]


// PRMS Id: 4333
// Bug: g++ can't deal with casts to pointer to member function.
// Build don't link:

class A { };
typedef void (A::* pmf)();
void foo () { (pmf) 0; }