2 // { dg-do compile { target c++11 } }
9 void f () { auto [x] = 0; x++; } // { dg-error "cannot decompose non-array non-class type" }
10 // { dg-warning "structured bindings only available with" "" { target c++14_down } .-1 }
11 void g (T t) { auto [y] = t; y++; } // { dg-error "cannot decompose non-array non-class type" }
12 }; // { dg-warning "structured bindings only available with" "" { target c++14_down } .-1 }