re PR c++/42697 (ice-on-legal-code: template class template function local objects)
Fix PR c++/42697 gcc/cp/ChangeLog: PR c++/42697 *pt.c (tsubst_decl): Get the arguments of a specialization from the specialization template, not from the most general template. gcc/testsuite/ChangeLog: PR c++/42697 * g++.dg/template/crash94.C: New test. From-SVN: r158068
Showing
gcc/testsuite/g++.dg/template/crash94.C
0 → 100644
Please
register
or
sign in
to comment