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++.mike/] [p8039.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do assemble }
// prms-id: 8039
class C {
public:
int func ();
};
extern void bar(int*);
int main()
{
int (C::*mfp)() = &C::func;
bar((int*)mfp); // { dg-error "" } no clear semantics
}