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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Except it will warn at instantiation time.



<source>: In instantiation of 'std::vector<std::__cxx11::basic_string<char> >
check_values(T&&) [with T = int&]':
<source>:32:21:   required from here
<source>:28:1: warning: no return statement in function returning non-void
[-Wreturn-type]
   28 | }
      | ^

Reply via email to