URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [other/] [default6.C] - Rev 301
Compare with Previous | Blame | View Log
// PR c++/30108
class BaseRobot {
typedef void (BaseRobot::*PseudoState)(void);
typedef PseudoState STATE;
STATE initial ();
int ready ();
STATE stpOtherTask ();
STATE commonEventProcessing (STATE pIdleTarget=(STATE)&BaseRobot::ready);
};
BaseRobot::STATE BaseRobot::initial ()
{
return commonEventProcessing ();
}
BaseRobot::STATE BaseRobot::stpOtherTask ()
{
return commonEventProcessing ();
}