Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
clang-tests
/
gcc-4_2-testsuite
/
src
/
g++.old-deja
/
g++.jason
/
offset1.C
blob: 51137c11f6fafb41ade8c53665e723372c83f976 [
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 "" }
}