Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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" }
}