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

    <tr>
        <th>Summary</th>
        <td>
            `__is_trivially_relocatable` of non-object type is `true`
        </td>
    </tr>

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

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

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

<pre>
    See <https://compiler-explorer.com/z/PYddoc58E>:
```C++
static_assert(__is_trivially_relocatable(int&));
static_assert(__is_trivially_relocatable(int()));
```
```output
Compiler returned: 0
```
Here's a patch: <https://github.com/Quuxplusone/llvm-project/commit/8bd9e52829a155d1cf786458dc028d17d0545494>.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyckktv2zAMxz8NfTEaKLQlSwcf-kg27NRhp50CPZhEg2IZenTtPv1gp9iGFuhhAA8iRf5F_kSdsz9NRCPwO-APja7lHNP4JZ4p7D49Nia6l_EbUQvd_bmUOUN3C7gH3Nt4mX2gdEPPc4iJ0sbGC-D-F-D-8btz0XK5g263FLAHYLcg2NXuAe8WW6O56OLtQedMqQDKw8HnQ0n-yesQXg6JQrS6aBMIUPqpAApAtVj33wryVeEfkT_NvXFjLXMt1-D968RtolLTRA662_ZtwdX9TIkAh9zqdtbFnpfMdwRPvpyrecX2tdbnOdQcJwLch_B0uZlT_EG2XFlf_HKQxiniKFHpLedua4-DFD2XzjKUbjs4xnveqx663aZxY-dUp3RD41YoPgjJGW_Oo-jMFq3te6bQWDHY3gxGGVRbZ-SRRONHZNgxhQKxl8g3QvTS2YFxzo7HwWnoGV20D5ulz01Mp8bnXGkUQ69kE7ShkNeNQpzoZ7teAuKyYGlcZzP1lKFnweeS_6oUXwKNINgHfyhYG4_tFKebaBY8bXmZqfW5BcFKqktCU1MYP2C9vPce8tplBtyvU_wOAAD__xkQ8w4">