Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.jason/nested1.C

raw
1 // { dg-do assemble }
2 // Bug: g++ can't deal with function-local classes that talk about themselves.
3
4 void foo() {
5 class Wrapper {
6 public:
7 void F (void * Wrapperptr)
8 {
9 Wrapper * wrapptr = ( Wrapper *) Wrapperptr; // { dg-bogus "" }
10 }
11 };
12 }