2 // Negative test for auto
3 // { dg-do compile { target c++11 } }
6 auto j; // { dg-error "has no initializer" }
10 static auto k = 7; // { dg-error "non-const" }
11 static auto l; // { dg-error "has no initializer" }
12 auto m; // { dg-error "non-static data member declared" }