Sign in
gnu
/
gcc
/
57ea00136418991e847e46a6946a81a1df70c9a4
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.gb
/
scope04.C
blob: 29e0dffeaf053063795c453b56c547f7cb054f67 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// GROUPS passed gb scope
struct
a
{
struct
c
{
struct
d
{
static
int
foo
(
int
);
};
};
struct
b
{
int
foo
(
int
x
)
{
return
c
::
d
::
foo
(
x
);
}
};
};
int
a
::
c
::
d
::
foo
(
int
)
{
return
0
;
}