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