<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/75781>75781</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang crashes when performing initialization on invalid code.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang:frontend,
crash-on-invalid
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
hokein
</td>
</tr>
</table>
<pre>
clang crashes on the the following invalid code:
```
template <class T, typename U>
struct A { T a; U b;};
template<typename K>
struct A<int, int> { int a; K b;};
void s() {
A<int, int> a{1, 2};
}
```
https://godbolt.org/z/vEh15cEzz
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx0ks9uozAQh59muFiJzBgHcuDQ_OHSa_sAxp6Cd40dYZOqefqVSbvb7XYlGMsYfz_N6FMx2sETtSAPIE-FWtIY5nYMP8n6og_mrdVO-YHpWcWRIguepZHW9yU4F16tH5j1V-WsYToYAvEA_AT8o-74-7NuE00XpxIxEEftVIzsCfDI0tuFvJqIPYM43_-MaV50Yg8M6gNjT0yBOLBn1oM4QH3K9VPKBxbE8Tfq8R8UiKP1KeflRZxXtPXpzn78D_sarGERsAHc5xv3r-wbnIL6UOY9_kWpT9-O4l7HlC4xzww7wG4Ipg8ubcM8AHY3wO56Hkupz7dbYVph9mKvCmrLmmOz35Uoi7E1UmElS6JaNaoSkvOm3hktK5RSC7UrbIscRYllU_IKudyS6I0SQmndIJq6hIrTpKzbOnedcnZhY1yorWXdlIVTPbm4CoK4ygDi4WUOPpE3gAh4zAfZj03wm3cX8oE8FXObmZt-GSJU3NmY4p-UZJOjL369juTZheaXME93tWyyytmbSjb4rN9n2basWGbXfhmiTePSb3WYALsc9r5sLnP4QToBdmt_EbBbW_wVAAD__2TX5oU">