☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
offset4.C
☽
☼
gcc/testsuite/g++.old-deja/g++.jason/offset4.C
code
plain
raw
1
// { dg-do assemble }
2
// Bug: g++ complains about the use of A::p below.
3
4
struct A {
5
void *p;
6
};
7
8
struct B: public A {
9
int f ()
10
{
11
if (A::p)
12
return 1;
13
return 0;
14
}
15
};