URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [pmf4.C] - Rev 12
Compare with Previous | Blame | View Log
// { 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