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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
nested1.C
blob
4405f3d06495df75e5475228b438180321d32983
1
// Bug: g++ can't deal with function-local classes that talk about themselves.
2
// Build don't link:
3
4
void foo() {
5
class Wrapper {
6
public:
7
void F (void * Wrapperptr)
8
{
9
Wrapper * wrapptr = ( Wrapper *) Wrapperptr; // gets bogus error
10
}
11
};
12
}