https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102709
Bug ID: 102709 Summary: ICE: in build_function_type, at tree.c:7304 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: hewillk at gmail dot com Target Milestone: --- 12 Regression: template<class... T> struct S { S(T) {} }; int main() { S([]{}); } https://godbolt.org/z/rM5Eo1rhh