☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
range-for26.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/range-for26.C
code
plain
raw
1
// PR c++/58503
2
// { dg-require-effective-target c++11 }
3
4
template<int> void foo()
5
{
6
for (auto i : 0) {} // { dg-error "there are no arguments" }
7
}