Sign in
llvm
/
llvm-archive
/
1d76340703a4410549e014acb3f11d3d75acb04f
/
.
/
llvm-gcc-4.2
/
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 "" }
}
};
}