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

    <tr>
        <th>Summary</th>
        <td>
            clang 16-trunk is defining __cpp_static_call_operator with a value of 202207L when not in c++23 mode
        </td>
    </tr>

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

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

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

<pre>
    With the compile params `-std=c++17 -pedantic -pedantic-errors` clang is still defining `__cpp_static_call_operator` with a value of `202207L`.  This has been true since clang 16.

https://gcc.godbolt.org/z/a4xEnzxs7

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx0kT-P3CAQxT8Nbka28PgPuwXFrTauUkZKucIwtkkwWIDvLvfpI-9tclKia4CCN_Pe76mU7OyJJOsurLsWas9LiHIkpRcyxRjML_nd5gXyQqDDullHsKmo1gSs52XKhjVXzfDC8FILKDcyymerP14lxRhiYj0H7ZSfwSZI2ToHhibrrZ-PSbeb3rZbyipbfdPKuVvYKKoc4iF8OSwoeFZuJwjTIUCOyMVX1vMK4NtiEywqwUjkIcedIFmv6bGx7ivGr4w_vZ9LzltizRPDgeEwa13NwYzB5SrEmeHwxnBQ7esX__aaxLukMLIx5-asCpK14G0vur7BYpGGpg610FwpPTUT1fpcn2vi3HDRdVwXViLHltf8xGvOG6wmEtNJnLU-tf146gVrOa3Kusq55_VwUNiUdpJCYI-FUyO5dK8H8Z6GIR5NRXn8L8d9TqzlzqacPiZkmx3JP-HLHHf_8-D-l_jnuP9j_QANLwt58CGD9fAoHBtYg6Fij07-A9XmZR8rHVaGw2HrcZVbDD9IZ4bDPWViONyD_g4AAP__D7jQRw">