Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/range-for19.C

raw
1 // PR c++/49838
2
3 // { dg-do compile { target c++11 } }
4
5 int main()
6 {
7 auto a; // { dg-error "no initializer" }
8 for(auto i: a)
9 ;
10 }