Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
range-for26.C
blob: 71359cde6e4e3e8fd63c8bccee65437668955c6e [
file
] [
log
] [
blame
]
// PR c++/58503
// { dg-require-effective-target c++11 }
template
<int>
void
foo
()
{
for
(
auto
i
:
0
)
{}
// { dg-error "there are no arguments" }
}