2 // { dg-do compile { target c++11 } }
3 // { dg-options "-Wunused-but-set-variable" }
8 int a[2] = {1, 2}; // { dg-bogus "set but not used" } */
9 auto [x, y] = a; // { dg-warning "structured bindings only available with" "" { target c++14_down } }
13 struct S { int d, e; };
19 auto [x, y] = a; // { dg-warning "structured bindings only available with" "" { target c++14_down } }
27 auto & [x, y] = a; // { dg-warning "structured bindings only available with" "" { target c++14_down } }
35 auto & [x, y] = a; // { dg-warning "structured bindings only available with" "" { target c++14_down } }