URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [other/] [default6.C] - Rev 149
Go to most recent revision | 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 ();
}
Go to most recent revision | Compare with Previous | Blame | View Log