Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
range-for34.C
blob: 2041848294d70947e70de520505190e461d5bbeb [
file
] [
log
] [
blame
]
// PR c++/79566
// { dg-do compile { target c++11 } }
struct
X
{
struct
Y
{
};
Y
*
begin
();
Y
*
end
();
};
void
f
()
{
X x
;
for
(
struct
X
::
Y
&
y
:
x
)
;
}