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

    <tr>
        <th>Summary</th>
        <td>
             C23 mode: cannot compile this static initializer yet
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

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

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

<pre>
    In C23, clang as of trunk gives me that error on the following code

```{.C}
#include <math.h>
_Bool const inf =  (1.0/0.0 == INFINITY);
```

This is maybe transitional and known (all my apologies) but it is suspicious that it only appears in with the combination of trunk and C23, were normally this should be valid code, regardless of the C version.

Thanks
Jens

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckkGPozwMhn9NuFiDQkKH9sBh2n5I_Q5zmsueVgZc8E5IqsS06v76FS2r2V0pSizH1vv6STAlHjxRrTZ7tTlmOMsYYj3MSaiXrA39vT55OBirzAE6h34ATBDOIHH2nzDwlRJMBDKiAMUYIgQPMhKcg3Phxn6ALvSk9FHpt3V_1euq9vlBVcc1bSz7zs09gbKHCWXMR2X_e15-34fgoAs-CbA_g7JHAGW2Ra6VaXSul8ySPL03p_fTxzdldsru_xX8w8XHyAk4wYT3lkAi-sTCwaMD9D18-nDziwI6B9Md8BJcGJiSMjtoZwGWpTvN6cIdhzk9EbBA8G4pvxDGBOzhxjI-iHRhatnjIvJFcNFa8d4oEvgQJ3TuDrL4S2OYXQ8twRUd90-U5gCRBoy9o_R8i5HgAFeKiYPP_x4S_Wd6xv-TX6Osr22_szvMqC6qQhdVqUuTjXXVWt1V25aqjbG74txTUWG1K4rtpjLVpsi4NtqU2hZF8Wp0aXLq0OqKrG21QdRWlZomZJc7d53yEIeMU5qp3pbVtswctuTS788W66XopZ2HpErtOEn6ahMWR_WCBqZlaPsGHXofZMF4YUcrIEHhDtizMDr-SRHuJNkcXT2KXJKyb8o0yjQDyzi3eRcmZZpFZT1eLjH8oE6UaR5OkzLNw-yvAAAA__-dL_og">