repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* cfgloopmanip.c (duplicate_loop_to_header_edge): Cleanup profile
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
nested1.C
blob
90c6ecb3750d089cb077354939e6b2b9ef99da3b
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
}