https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114632
--- Comment #3 from Patrick Palka ---
Looks like static op() lambdas are affected too:
struct S {};
auto lambda = [](auto, const int x) static /* -> void */ {};
int main()
{
void (*func)(int, int) = lambda;
return 0;
}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114632
waffl3x changed:
What|Removed |Added
CC||waffl3x at protonmail dot com
--- Comment #2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114632
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed||2024-04-08
Status|UNCONFIRM