URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [other/] [default6.C] - Rev 693
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 ();
}