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

frankhb1989 at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |frankhb1989 at gmail dot com

--- Comment #7 from frankhb1989 at gmail dot com ---
GCC 9.1 still does not work when there is a trailing-return-type:

void test() {
    []() __attribute__((noreturn)) -> int{
        return 0; // Warning expected.
    }();
}

This looks like the same regression.

Reply via email to