Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
)
;
}