<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/116440>116440</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[Clang] ICE on `void{}`
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
MagentaTreehouse
</td>
</tr>
</table>
<pre>
This expression `void{}` causes an ICE in clang trunk. In clang 19.1, it gets rejected.
See compiler Explorer: https://godbolt.org/z/e85YYTaTx
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxskTGPnDAQhX_NuLEO2YONl8LF3u4hXZEq21xpYAROvBjZZrXJr49AF0WKrhpN8d68-Z7L2U8LkQX9CvrK3FbmmOw3N9FS3C0RzXHLxPo4_rK32WdOzzVRzj4uHBrxiH4E8wrmCo3gg9syZe4W_n55437hQ3DLxEvalp8Vf_-7y7aSgBfuC5-oZJ7oBw2FxgrEFcT5OxEf4n31gRJ_e64hJkpQn_lcypqhPgN2gN0Uxz6GUsU0AXa_ATs66Y-Pm7s92Wjrsa1bx8hKU0sj6lpJNtvGaaP6djg1QptmVAbF6TSSdkI0J-yJeYsClZRSo1CIsjJiQGH6ukVN7aAdKEF350MVwuO-32Y-542slI1SggXXU8gHTcTjW0DcwSa7C176bcqgRPC55H8WxZdwVHA5FPp68PuCMNtSsP9h8GXe-mqId8Bud_wcL2uKO1bA7kiYAbvPkA-LfwIAAP__EFecFQ">