<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/55163>55163</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Assertion failed: Result.isAbsent() && "local created multiple times"
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
mmatic05
</td>
</tr>
</table>
<pre>
Attached are images showing bug. The bug has existed since the change created by the commit ID (SHA) f7f2e4261a98b.
![open-source-llvm-bug (1)](https://user-images.githubusercontent.com/84574066/165737854-d4e086b1-15cc-43d3-9195-49075495fb05.png)
![Screenshot from 2022-04-28 12-40-32](https://user-images.githubusercontent.com/84574066/165737937-adca184d-dd39-444b-b754-630540b5ce59.png)
![Screenshot from 2022-04-28 12-40-36](https://user-images.githubusercontent.com/84574066/165737953-af191b72-9c1f-4cc0-9760-7b93cb2d94d7.png)
**Command line:**
clang++ -DLLVM -DELF -Wa,--defsym,ELF=1 -DDP_TO_SP -o ./t_class_types_in_non-type_templ_param-9.s -I. -Ia -O4 -std=c++20 -DNEWFILEIO -no-integrated-as -S t_class_types_in_non-type_templ_param-9.i
**Used test:**
[test.zip](https://github.com/llvm/llvm-project/files/8582056/test.zip)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJytVMlu3DgQ_Rr1hSiB4iKJBx3abhsx4IyDcTI5NrhJ4kAbRPYkztdPqbvjCZAEyAABKHGp4qvH2szsXpp9Str23hG9ehJG3flIYj9_ClNHzKnLyfvebwvS60j85xAT6sYwWU8SSmyvpw6n1etNYF4up_M4hkQeDiRj9fObfcYUaauWecHKQqva5Bk9ZHR__bMikzfz4ieI82m1HobhnxE2o3i9wMuZPOCqT2mJGUf9exyn6Fe4EM67kPqT2U7sPCU_pRwZoE4tZCVoWeKyKGXFq1oKcMLTujQFFNJaENxxUIWSIBStpFCyNVTmy9Rtdr9l-Q3XZ3yvn9BNibTrPBJGGQMqgNWkYCAocPbbKCtegXZWF7Vw4BxXIIQwYJArlJxKQY20XqofUf5FsuXvIys56LZQhakYKFu0IKyloKqSQmUUt4Y5JVz1c_9eiW_jFrNIT44MYfJnWtsgFw076A3hBgeBw-PjX29xunu8J_BRZ-wWwPk2viDHWzzM-KFA8eHd8f3T8fkdgZnkSDkdESXGY3pZfDyG6TjNE2ybY_LjMhwXveoRVB4JPOT4aQJPgkBMDgHtxTijCPzH3cf7h8e7hycC0wwBPdStWzkAlgw8k1-1E753wYeIRZV8TK_vv0rlzXaafwnLj2J3idc1SFsxXSdY1vlvbxNu2zD4uIVQ1ozKLYKvgF_jsnMNd4orvUshDb7ZR0yAFOaJtBpvoxf25E8fT0PKQ9ybiHmBTLZazxgCljixYbZ6eG0PI-qGZcDWEcbNOtud1qH539xDjKczeSmLku_6puKmLHnlnCtqWShfl1a3nDrOPFaOYLtBGz_EBt2GRif_iZwhcI3e24VmKwkqsNcUlAuRt94bjYjaFJi5mmWC-hGfnG888nntdmvztUVFFA7YFeN_Qox16Cbvz-YQX59SP68NJnMKlsrd2XZz5v4v1CmmWQ">