// PR c++/79205 // { dg-do compile { target c++11 } } // { dg-options "" } template struct B; template struct B { int b; }; template struct C { B<0, E...> c; C (C &) = default; C (C &&); }; template struct tuple_size; template <> struct tuple_size> { static constexpr int value = 1; }; template struct tuple_element; template struct tuple_element<0, C> { typedef int type; }; template int &&get (C &&); int foo (C t) { auto[x0] = t; // { dg-warning "structured bindings only available with" "" { target c++14_down } } return x0; }