2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / other / default6.C
blob2641801b1e4f52076e59fbf94aa971d447829d0a
1 // PR c++/30108
3 class BaseRobot {
4   typedef void (BaseRobot::*PseudoState)(void);
5   typedef PseudoState STATE;
6   STATE initial ();
7   int ready ();
8   STATE stpOtherTask ();
9   STATE commonEventProcessing (STATE pIdleTarget=(STATE)&BaseRobot::ready);
11 BaseRobot::STATE BaseRobot::initial ()
13   return commonEventProcessing ();
15 BaseRobot::STATE BaseRobot::stpOtherTask ()
17   return commonEventProcessing ();