1 // { dg-do assemble  }
2 // GROUPS passed nest
3 // nest file
4 // From: tal@vlsi.cs.caltech.edu
5 // Date:     Mon, 11 Oct 93 16:26:02 -0700
6 // Subject:  Serious bug: g++2.4.5 -Doesn't support local classes
7 // Message-ID: <9310112325.AA13386@vlsi.cs.caltech.edu>
8 
foo()9 void foo() {
10   class Wrapper {
11   public:
12     void F (void * Wrapperptr)
13     {
14       Wrapper * wrapptr = (  Wrapper  *) Wrapperptr;
15     }
16   };
17 }
18