Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
offset1.C
blob: a918baab8d196529781b4b5a260e61faf585c0de [
file
] [
log
] [
blame
]
// { dg-do assemble }
// PRMS Id: 5070 (testcase 1)
struct
foo
{
foo
(
int
x
=
0
)
{}
int
IsAlive
(
void
)
{
return
1
;
}
};
struct
xx
{
int
IsOk
(
int
X
);
foo a
;
};
int
xx
::
IsOk
(
int
X
)
{
return
((
xx
::
a
).
IsAlive
());
// { dg-bogus "" }
}