https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108407

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>  return std::tie(a,b);

That returns a reference to the two local variables. Both have now gone out of
scope.

Reply via email to