Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / template / instantiate8.C
blob9004a86d766553c034919dffb662c8668f9d0bbe
1 // Copyright (C) 2005 Free Software Foundation, Inc.
2 // Contributed by Nathan Sidwell 18 Aug 2005 <nathan@codesourcery.com>
4 // PR 22044: ICE
5 // Origin: Andrew Pinski <pinskia@gcc.gnu.org>
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
14   struct EvFlipBit {};
15   typedef transition<EvFlipBit> type;