blob: 4405f3d06495df75e5475228b438180321d32983 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// 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
}
};
}
|