1 // PR c++/85208 2 // { dg-do compile { target c++11 } } 3 // { dg-require-weak "" } 4 // { dg-options "" } 5 6 #pragma weak _ZDC1d1e1fE 7 struct A { int i, j, k; }; 8 auto [a, b, c] = A (); // { dg-warning "structured bindings only available with" "" { target c++14_down } } 9 auto [d, e, f] = A (); // { dg-warning "structured bindings only available with" "" { target c++14_down } } 10