<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/55401>55401</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Clang crashes if the require clause lacks a comma
</td>
</tr>
<tr>
<th>Labels</th>
<td>
c++20,
clang:frontend,
crash-on-invalid,
crash
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
ChuanqiXu9
</td>
</tr>
</table>
<pre>
Here is the reproducer: https://godbolt.org
```
template<class> concept f = requires { 42; };
struct h {
int i = requires { { i } f }
};
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxlUdtu2zAM_Rr5RUigSHYcP-ihSTb0E_aqC21rU6RUlwL9-1FOtxatQIGXAx4ckjraN_kMCajLtKxAE9xTtNVAIuKJrqXcMwaE_0RbotXRl31MC2FXwp7Ikb3blha43b0qQMTFeJWx8Qc1MRi4FzpTIq7I_lJdgkzJeKY9J-KM0RXdgyCXVE2ha4MfFYrPhULd9_b2XWtv3EjyUPSJ7b-6zkphJzGprrjiQV68Cgs1SeUVudz8PvjGTVF5zUC9Mn8yVaj_dlNdTV5-2YUra9V7hDHx_vWf2-H6foMpmLqcK2QMhqFnh26VwzwKmJVloLSeT70FdRiNOE5DP4-jOnVeafBZkuFMODeEoztzhjHhF9pKTThKmFMMBYL9hLRhdjHsXHhV3n1FWjpcOyc545wNB87GfhJ8z-zENB-PtgfO9eFEegY35fy-jdLu3CW5TaXrkhH0Lpf8AeKN3RIANsXIr2pZY5KXtarw4n7Vqdt2ILcF_AUhKbqN">