Sign in
gnu
/
gcc
/
b1143e51359be3b1151d892970f43ae67dee64d2
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
nested1.C
blob: 4405f3d06495df75e5475228b438180321d32983 [
file
] [
log
] [
blame
]
// Bug: g++ can't deal with function-local classes that talk about themselves.
// Build don't link:
void
foo
()
{
class
Wrapper
{
public
:
void
F
(
void
*
Wrapperptr
)
{
Wrapper
*
wrapptr
=
(
Wrapper
*)
Wrapperptr
;
// gets bogus error
}
};
}