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