// PR c++/95328 // { dg-do compile { target c++11 } } // { dg-options "" } template struct S { int a, b; }; template void foo () { auto [a, b] = S(); // { dg-warning "structured bindings only available with" "" { target c++14_down } } } int main () { foo (); }