<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/84425>84425</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            ICE inside nested lambdas, with reference captures, when the inner lambda is recursive using c++23s deducing this
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          apache-hb
      </td>
    </tr>
</table>

<pre>
    ICE inside nested lambdas, when lambdas capture by reference, and specifically when the inner lambda both captures by reference and is recursive using c++23s deducing this
https://godbolt.org/z/vbcTjKcvY
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUkTmP2zAQhX8N1RA26NFhsWCx3o2AIG2alDxGIhc0JXAoL5xfH0hZ5yyCVASP9zjve5ooTAlRsfbC2pdKr8XPWelFW48Hbyozu7v6-PyBh0TBIU9IBR2P-mqcJgbP_M1jeuy51UtZM3Jz5xlHzJgsbo90cpwWtGEMVsd4_64qHnlICfO7npu5-IcH_WayOwTiGe2aKdyQrxTSxC2DC4ML1MQdutVuZ8UHYuKFiSdfykKsfmIwMBim2Zk5luOcJwbDVwbDzdjPr5_s7UvlVO1kLXWF6nQWsu_O_amvvBq1qcdu1DVa2bTnVshGdlKA086e2kZWQYGARtSiF_Wpa_vjWZpOCIlGomjHxrFG4FWHeIzxdt3-rgLRiqpvGmirqA1G2vEDJHzj-yUD2NrIatMczDoRa0QMVOinSwkl4j-qCcX_gvAB9kdrf_H_D8DVmqP6g28ofjVHO18ZDNuc78thyfMr2sJg2NMRg2FP_y0AAP__MsDUYw">