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

    <tr>
        <th>Summary</th>
        <td>
            [Clang] Clang erroneously allows `if constexpr` in C23 mode
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            c23,
            clang:frontend,
            accepts-invalid
      </td>
    </tr>

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

    <tr>
      <th>Reporter</th>
      <td>
          Sirraide
      </td>
    </tr>
</table>

<pre>
    See https://godbolt.org/z/E8PEzzfP3. According to @AaronBallman, this isn’t intentional, so we should probably disallow this.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckcGuoyAYhZ_md0Nq8EdFFyx627q-yX0CxF9lQqEB7J326Seam5lkVpwAOSffOTolu3giBc0HNNdCb3kNUX3ZGLWdqBjD9FJfRGzN-ZFAnAEHwGEJ0xhcLkNcAIc34HDrPm_v9_wpSnY2JsTJ-oXlwKDmZx2D_9DO3bUHvLC82sRs8nBD6Dj0fWbWZ_LZBq_d_iMF9k0srWFzE3vEMOrRvdhkk3YufB8GZTEpMfWi1wWpSmLP-75DWayqGbngeuadNLI2czvLnmQzyhZ7IUzVFVYhx7riVVtJwVGWhpDTiJqaWnZthVBzumvrSuee952xsCltpKoKm04WTo_k0tEYokEBiICXXTvtFxDnOYadZ_r7oI2hR04n65_a2eO-uRZR7f6ncVsS1NzZlNO_xGyzO1a5HKbNlR2CUYzBU9iSe7GjjcSg5XZmJviU6fcjQsuZ9eyCgt3DRMUWnfpvPZvXbSxNuAMOe-LPcXrE8ItMBhwO4AQ4_DA_Ff4JAAD__-yVr-Y">