<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/60181>60181</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Clang doesn't emit deprecated warnings on deprecated template aliases
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang:diagnostics
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
philnik777
</td>
</tr>
</table>
<pre>
Clang warns on deprecated aliases, but not on deprecated template aliases.
```c++
template <class T>
using DeprAlias [[deprecated]] = int;
struct A {
DeprAlias<int> d; // clang should warn here, but doesn't.
};
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxcktGu2yAMhp_GuUGnIpCU9IKLtjl9gr0AAS9hIxBhsmlvPyVtT48qWYkwtn8-24bIjxFRQ3uBtq_MWqaU9TL5EP1vpVQ1JPdPX4OJI_trciSWInO4ZLSmoGMmeENIIK5sWAuLqbwFFJyXYAo-Iw_Ae-Dnx_fI72ZBXDbbvV8pIK82GCL2A-Tn_W4lH0fW45LPWz22v_vy0oO2h7ZnIHvmYwF5-S5HJa-2sDMD9fCzVymQ1z3jkzmQFwbiBuLG7E5OU1qD2xvAJsz4xHUJKYJQ5Uml-pfkk-1-rJyW7iRPpkJdH1UjOtWdmmrSNSoclD3WP49WKYlD03WNa-WArrZDZyuvBReS16Lmqu3q5oDWcecEl8paZ5SChuNsfDiE8Gc-pDxWnmhFfeR1V1fBDBhoH7AQOw7Is_NmjImKtwRCbJPPesv-GNaRoOHBU6FXveJLwMcWfDEznH35PuqtPT6O7yvyvgHVmoOeSlkI5Pne5tGXaR0ONs0gbpvq4_ex5PQLbQFx25EIxG2n-h8AAP__2svY0Q">