Sign in
gnu
/
gcc
/
609d1c1bf0472f9d9415b0b124603348dbcd9e4e
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
offset1.C
blob: d4fd38b70dc0c58e559e59c004a0afba57952604 [
file
] [
log
] [
blame
]
// PRMS Id: 5070 (testcase 1)
// Build don't link:
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
());
// gets bogus error
}