<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=http://email.email.llvm.org/c/eJylU9tunDAQ_Rp4sYLAwAIPPGw3ilSpb62UvvoyXqbx2tQ2G-XvO0B2U6lSpaqS5cvcOHPmIL1-G58ncOwzCyA0SxMw5TXEjJ_IZvzidqPx1vpXdOfNzTAyjdplvEtkuEIAndXHrHzMyuOU0hzXF3-idcY0LbJQ_kIPa6-342EO_geoRE9pvaSj7ytjGmhAQq9USatpVaeqQ6eMkWVlhsbwzvQUqqxw57UQrolf4SLej0dQtlDznPH6S1Pz6mHdhx3Xvh-t3RqaRYwQ2atfrGYxIZnlu1UzNAyuGysaLCS481Kwb3RDl8Al9I55c3exOG21qIqmFJU2DxFDkEQQt_CrCCikBSaIWXTKu4iRyqk3eq0pGOhi0VHBGRQahMAy3q_hcMFEeQxC8GEFuX_7MqOloI9hKREh40NB-FNA6id5JrRmgiWIickl3WdLBa33L5FZfAH2upajJvbBrik3_HAHHoui-J3Q086gv4B3a7ozGC43cKeMf6JFBBN-EQjCKqP4d2pIPE-5Hms91IPIxZImH8bTtAj3E78vQ74EO_6zyDDGZZX1U1vXw5BPYwnQtZXqeF13EmDoFdRNz8tqOAxNJ3luhQQbx6ylDrjaG6k6umftY_7_CHDkJafP8bbs6qY8FK3SdcVNyWspdXWQWVOSotEWa53Ch3Mexq2kXM6RnJZ0Ez-cpFw8O4ANMCFMmCyMz8CsUC-30ZMQtt_1T_LfNXefQb7BHTesvwA0oWDg>53399</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            We lack a test to cover redeclaration of inline variables
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            c++17
      </td>
    </tr>

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

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

<pre>
    When I read the codes, I found the following code is didn't covered:
https://github.com/llvm/llvm-project/blob/881ff4e4ebe8cc0cc045c7c167cffb01f94f27f8/clang/lib/Sema/SemaDecl.cpp#L4321-L4329

All the passes would still be passed if even I delete the code. The intention of the code should be detect the redeclaration of variable and inconsistency in their inline specifier (and emit an error if the compiler found the case). I tried to add a test but I found it looks like we couldn't add redeclare variables...

Could someone confirm if the C++ standard allows the redeclaration of variables?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyVU01r3DAQ_TX2RcTYsr1eH3xINwQKvbWQXvUxWk-jlVxJ3pB_35Gd3RYKhYKQNF_Pb57G0uv36WUGxz6zAEKzNANTXkMs-Il8xq9udxpvrX9Dd97CDCPTqF3Bh0SOKwTQRftY1E9F_TintMRs8WdaZ0zzKivlL2RYe70dD0vwP0AlMqX1ko7jsTGmgw4kHJWqaXW9GlRzGJQxsm7M2Bk-mCOlKivcOQNhLvwKF_FxPIGylVqWgrdfupY3D3kfd177_mjt1tAiYoTI3vxqNYsJyS0_vJqhYXDdVNFgIcFdl4p9oxu6BC6hd8ybe4jFecMiFE0lKm0REoYoiSBu6VcRUEgLTJCy6JR3ESPBqXeycgkGulh0BLiAQoMQWMGPOR0umKiOQQg-ZJL7ty8LWkr6_VhKRCj4WBH_FJD6SZ4JrZlgCWJick33tyVA6_1rZBZfgb1lOGpif9hccuMPd-Kxqqo_BT3tCvoLeJfLncFwuZE7FfwTLRKY-ItAFPIYxX9LQ8PzXOqp1WM7ijJhsjC9ALNCvd5aoIa2sfsb5EO7O1a5Bjv990hijGv-CZ77th3Hcp76QSppmqHve93Xfa34seWa81pLbrpDXVohwcap6Klfrva2m4HuRf9U4sRrym14Xw9tVx-qXum24abmrZS6Ociiq2l60VaZR-XDuQzTRkmu50hBSzMSfwdpSvHsALbPEb5Y0-zDdJpX4X7i93Ustwamjf0vS0lLdg">