<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/63008>63008</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Clang assertion failure in braced initialisation
</td>
</tr>
<tr>
<th>Labels</th>
<td>
c++20,
clang:frontend
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
usx95
</td>
</tr>
</table>
<pre>
GCC: `g++.dg/cpp2a/paren-init20.C`
```cpp
struct A {
int a;
int b;
};
void foo() {
auto z = new A(0, {0});
}
```
https://godbolt.org/z/W6aMaE8fo
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckcGO2yAQhp9mfEGxyGAc-8DBceqeeu55sLFDRYwFeNvu01fE265SCQ3Mz_DB8FOMdlmNUSCvIG8F7enug9rjr1YW2k-_1de-B9ExqPkCeAW8ltMCOIzbhgQ4bBTMerKrTcjLHmoO_Aa8-4g1P8a4bYcSU9jHxDoGl-uhMMaYXRMjEH-VnOp_KVxun-tnfPN2YrP3gA1g-4qiPXn2zkDc2Gp-sg6w4YB9LuKZhO0L-PWZR3pPaYsgOsABcFj8pL1LpQ-57XfA4XtN3-hLM_tiUmJqRUuFUee6kVUlhJTFXbUtr0lILafL3OpaGDGdqaka5FhRbebCKuQouBT8zCsUsjzTbAynGucKL1ojVNw8yLrSubdHvruwMe5G1YLzpnCkjYtPzxDHwxbkgAjYZ8XRuoDo5uDXZNYpb8hbEVSGnfS-RKi4szHFT3yyyRnV55OMYjQhWb-ymazbg2F2ZTrQaCaWnbbkbKRcUOzBqf_-y6b7rsvRPwCHjP-YTlvwP8yYAIdnKxFweHbzJwAA__9skLf0">