summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/other/default6.C
blob: 2641801b1e4f52076e59fbf94aa971d447829d0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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 ();
}