Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
nested1.C
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 "" }
}
};
}