blob: 2a5049105a4dcdb5c82c2c21ccdee4c658193c22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Bug: g++ complains about the use of A::p below.
// Build don't link:
struct A {
void *p;
};
struct B: public A {
int f ()
{
if (A::p)
return 1;
return 0;
}
};
|