Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / nested1.C
blob90c6ecb3750d089cb077354939e6b2b9ef99da3b
1 // { dg-do assemble  }
2 // Bug: g++ can't deal with function-local classes that talk about themselves.
4 void foo() {
5   class Wrapper {
6   public:
7     void F (void * Wrapperptr)
8     {
9       Wrapper * wrapptr = (  Wrapper  *) Wrapperptr; // { dg-bogus "" }  
10     }
11   };