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
/
offset4.C
blob
2a5049105a4dcdb5c82c2c21ccdee4c658193c22
1
// Bug: g++ complains about the use of A::p below.
2
// Build don't link:
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
};