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

    <tr>
        <th>Summary</th>
        <td>
            Permitting static constexpr variables in constexpr functions
        </td>
    </tr>

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

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

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

<pre>
    It seems that Clang does not support static constexpr variables in constexpr functions properly:

https://godbolt.org/z/fx1jTModK

The value of a static constexpr variable set in a constexpr function should be available at runtime.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUkcFq3DAQhp9Gvogs2rGdtQ86tA2GUgo95AXG1shWkC2jGW2TPH3xEuhS2kMvEoz0S9_Ph8xh3oisaj-r9qnCIkvKdt0Lv1djcm_2q2gmWlnLgqK_RNxm7RKx3pJoLvuesmgWlDDpKW0s9LpnfcUccIzEOmx3Y1-2SULaWO857ZTjm6o_KfOkzMe6iOx8zGBQMMzJjSnKKeVZwfCuYPCv55fn78l9uw89L6SvGAvp5DX-G0YzycGDfyHSvKQSnR5J4xVDvN1H0blsElY6Vc7Wrq97rMieL6brW9OarlqsaQ0--s506NqpJgNn76HvfWMa79BcqmDBQGMAHs8AHVxOF994hNF1NdTOt141hlYM8RTjdT26VoG5kO2g75sq4kiRb34ANvqpb4cK4NCV7ZF5GMvMqjExsPDvVyRIJPuD8hpEwjb_v6Wq5Gj_UBJkKeNpSquC4fjqY3vYc3qhSRQMN0BWMNwK_AoAAP__CHjOLg">