Hey Nikita,

On Fri, Mar 19, 2021, 14:35 Nikita Popov <nikita....@gmail.com> wrote:

>
> Is it allowed to declare a noreturn function that returns by reference?
>
> function &foo(): noreturn {}
>

Given that `noreturn` means it should throw, loop forever or exit, how
would a by-ref usage be applied/useful?

Or is it a hint at a missing test?

>

Reply via email to