Sign in
gnu
/
gcc
/
609d1c1bf0472f9d9415b0b124603348dbcd9e4e
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
offset4.C
blob: 2a5049105a4dcdb5c82c2c21ccdee4c658193c22 [
file
] [
log
] [
blame
]
// 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
;
}
};