<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/130604>130604</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
CWG3003: Naming a deducible template for class template argument deduction
</td>
</tr>
<tr>
<th>Labels</th>
<td>
c++17,
clang:frontend,
crash-on-invalid,
regression:19
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
Endilll
</td>
</tr>
</table>
<pre>
Clang crashes on the following code (https://godbolt.org/z/KcoqrEME7) since 19.1.0:
```cpp
template <typename T> struct A { A(T); };
template <typename T, template <typename> class TT = A>
using Alias = TT<T>;
template <typename T>
using Alias2 = Alias<T>;
void h() { Alias2 a(42); }
void h2() { Alias a(42); }
```
>From https://github.com/cplusplus/CWG/issues/670, https://cplusplus.github.io/CWG/issues/3003.html.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyEUk2P2zgM_TX0RYghUf48-OB8eA6L3VOAOSuyYmshW64kp5j--kJJOpmm0xawYYvk4xMfn_BeD7NSDeRbyPeJWMNoXXOYe22MSU62f2t2RswDkU74UXliZxJGRc7WGPtVx4TtFQGsxhAWD7wF7AC7wfYna0Jq3QDYfQPs_pH2izv8eygBa-L1LBVhdcpSGjG0hYLeHrksQNugpsWIoAjwXXhb1CwmRY7AD8QHt8pAWgLllrSA1RGwBr4lUO6Bb2Or38JxRz7LxLbSCO_J8UiA70kL_AC0XX0csDVa-Gv4eAS-i5f4G88zGm9d4-9zh4vVPRkBqyjLdaQbQABWGX4Y7UcpPtd-Vvqu5o2kc3YiTwvSYVxPqbQTYCcXs_r4Ana71xfATnu_qngsShpl-xn8Xp_e22j7K5JTytMxTCZN-ob3Na9FohpWZqxgvCrzZGzyWlJRVTkraI1UocCMFkxQlmUnLnue6AYp5pQzyjgvc0wpy2l1ljynhWBFzSGjahLapMZcpui25MrfME4LmiVGnJTxV3cjSsAt4JaVgAi4i5FobeDt2dk5qLl_JKLbN3be6PkijH4knBqc8l7bGXjL6hjP94lrIv3mtA4eMmq0D_5xoaCDUc3u9SUKArwl_4kpOkOQXvWr1CejHq48W3e34ntIuGGd1Bxu5UHbOVmdaf6wzkh9_2wWZ_9XMnxczF2bS4PfAwAA__-8XjK3">