Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
range-for27.C
blob: a9cfb8ebc32c7c80d2b2d16e9ed47120a7290741 [
file
] [
log
] [
blame
]
// PR c++/58503
// { dg-require-effective-target c++11 }
// { dg-options "-fpermissive -w" }
struct
c
{
};
template
<int>
void
foo
()
{
for
(
auto
i
:
c
())
{
}
}
c
*
begin
(
const
c
&);
c
*
end
(
const
c
&);
template
void
foo
<
1
>();