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