https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108245 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Reduced testcase: typedef int mytype; void h() { [=](mytype auto... I) { }; }