FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / nested1.C
blob4405f3d06495df75e5475228b438180321d32983
1 // Bug: g++ can't deal with function-local classes that talk about themselves.
2 // Build don't link:
4 void foo() {
5   class Wrapper {
6   public:
7     void F (void * Wrapperptr)
8     {
9       Wrapper * wrapptr = (  Wrapper  *) Wrapperptr; // gets bogus error 
10     }
11   };