blob: a0af9f4128916ebac7daf53c5de6e24d3bda4a1a (
plain)
1
2
3
4
5
6
7
8
9
|
// PRMS Id: 4484 (bug 5)
// Bug: g++ can't convert between pmf types.
// Build don't link:
class A;
typedef void (A::*pmf)();
typedef void (A::*pmfc)() const;
pmfc p = (pmfc)(pmf)0; // gets bogus error - pmf conversion
|