Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
offset3.C
blob: c419b2e1180515d436f63727c3a6fd52edfab905 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// PRMS Id: 5070 (bug 2)
struct
A
{
void
f
();
};
struct
Ptr
{
A
*
operator
->();
};
struct
B
{
Ptr
p
;
};
struct
C
:
public
B
{
void
g
();
};
void
C
::
g
()
{
B
::
p
->
f
();
// { dg-bogus "" }
}