<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/60778>60778</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Front-end crashes with nested class template specialization and CRTP
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
scober
</td>
</tr>
</table>
<pre>
I have a class template with a second class template defined inside it. I add a specialization of the nested class template that inherits from a CRTP base class. When I declare an instance of that specializtion the front-end crashes.
I gave up on building creduce, but I manually reduced the file as best I could.
[main-9013d9.cpp.txt](https://github.com/llvm/llvm-project/files/10746065/main-9013d9.cpp.txt)
[main-9013d9.sh.txt](https://github.com/llvm/llvm-project/files/10746066/main-9013d9.sh.txt)
[main.cpp.txt](https://github.com/llvm/llvm-project/files/10746067/main.cpp.txt)
[stack-trace.txt](https://github.com/llvm/llvm-project/files/10746068/stack-trace.txt)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyskz2L5DgQhn-NnBRtZLU_AwfzgaGz4zi4uCyV29pVS0Yqz-zsr1_snmHY3k4WJrGDkp6nXsGLKdmzJ-pF9Siq5wxXnkPskw4jxWwM5q0_wYwvBAjaYUrAdFkcMsGr5RkQEungze3Q0GQ9GbA-WUNgOYcToDHbhYW0RWd_ItvgIUzAM4GnxPQHhmdksH6maDnBFMMFEJ7-_e8fGDHR9XQO_8_k4QSGtMNIgH7TMnpNVzryp3R3bsIpBs8H2laPmGZKuZDPQj5cvyc4b6HXBYKHcbXOWH8GHcmsmoR6gnFlOMEF_YrOvcF1YK5k6wgwwUhpO6PD6sxvcFE9XtD6QyeLo-lyvSw5_2BRPQvVzsxLEscHoQahhrPleR1zHS5CDc69fPwOSwzfSLNQw2ZLQg2FbMpa1pVQwz246u660_x16vpG_c6-MX9t3ObdeS9nYtTfDxxR09cJW6GGW_CHMzP90XTHDjPqi7qpy7asG5nNfVUcu1rLUqu2mapJdW1FVNUdVc00aV1ktldSHaUqqqItZFXn5YhT3aLuStnVRdOKUtIFrcu37fIQz5lNaaW-lk3TZg5HcmnvsFKeXmEfCqW2Ssd-TzSu5yRK6Wzi9Elhy4764bYL13Lf7-RNf9GbvZHZGl3_16-7L7o97x7kVwAAAP__rpN50w">