OSDN Git Service

* parser.c (cp_parser_class_specifier): Set class location to that
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / instantiate8.C
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
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