https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121734
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
<source>: In lambda function:
<source>:5:16: internal compiler error: tree check: expected record_type or
union_type or qual_union_type, have decltype_type in build_capture_proxy, at
cp/lambda.cc:462
5 | return mp[0];
| ^~
