blob: 90c6ecb3750d089cb077354939e6b2b9ef99da3b [file] [log] [blame]
// { dg-do assemble }
// Bug: g++ can't deal with function-local classes that talk about themselves.
void foo() {
class Wrapper {
public:
void F (void * Wrapperptr)
{
Wrapper * wrapptr = ( Wrapper *) Wrapperptr; // { dg-bogus "" }
}
};
}