[Bug c++/89640] [9 Regression] g++ chokes on lambda with __attribute__
frankhb1989 at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sun Jun 23 08:12:00 GMT 2019
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.
More information about the Gcc-bugs
mailing list