<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/114756>114756</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[Clang] Accepts invalid parameter pack not at the end of the template parameter list
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
YuchangSu
</td>
</tr>
</table>
<pre>
`template < template < typename ... X0 , class ... > class X0 > X0 < > ;`
See Compiler Explorer: [https://godbolt.org/z/KzxqW1axP](https://godbolt.org/z/KzxqW1axP)
It is rejected by GCC, but accepted by Clang.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMUU2PmzwQ_jXDZbTIjCEJBw4JCa9e9VJpD22PNkzArcHUNlGyv76CjbpqTz3Nh8czz4cKwfQTcwXFCYpzopY4OF99W9pBTf3rkmjXPSrYicjjbFVkBFnjn8Vj5kmNjGma4leBQDW2VoWwNUBentX6JC_vod5SkCfYCRBnEMdXZqzdOBvLHi_32TrPHuQRoTgNMc4B5BGoAWp612lnY-p8D9S8ATWf3u4_v2Tq_hmKM9Dh38epfD_-f0QT0PN3biN3qB_4X12vPPQSUbUtz892bdXUp0lXya6UpUq4yvZS7MXhIPJkqPZyL5XMldhR15ZSFFpoLkgXbVfq4npITEWC8iwTuTjQLpdpJ9VVZ7ogyltRdgJywaMyNrX2Nq6YExPCwlWW5ftil1il2YbNLKJ2BQNEq2--Wj-86KUPkAtrQgwfK6KJdnN4gw_FGY8bp4BmuilrOpyVVyNH9jir9gdOLqKKGAdGnjp01y397frH9HooWbyt_tLcxGHRaetGoGaF8Qwvs3erxkDNRisANU9mt4p-BQAA__9tLsvW">