Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
offset4.C
blob: 9325cc47cd02748f1dbaa3153c3157d21efa469e [
file
] [
log
] [
blame
]
// { dg-do assemble }
// Bug: g++ complains about the use of A::p below.
struct
A
{
void
*
p
;
};
struct
B
:
public
A
{
int
f
()
{
if
(
A
::
p
)
return
1
;
return
0
;
}
};