| 1 |
// Copyright (C) 2005 Free Software Foundation, Inc. |
| 2 |
// Contributed by Nathan Sidwell 18 Aug 2005 <[email protected]> |
| 3 |
|
| 4 |
// PR 22044: ICE |
| 5 |
// Origin: Andrew Pinski <[email protected]> |
| 6 |
|
| 7 |
struct no_context { |
| 8 |
template< class Event > void no_function( const Event & ); |
| 9 |
}; |
| 10 |
template< class Event, class TransitionContext = no_context, |
| 11 |
void ( TransitionContext::*pTransitionAction )( const Event & ) = &no_context::no_function< Event > > |
| 12 |
struct transition |
| 13 |
{ |
| 14 |
struct EvFlipBit {}; |
| 15 |
typedef transition<EvFlipBit> type; |
| 16 |
}; |
| 17 |
|