https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94628
--- Comment #11 from Marek Polacek <mpolacek at gcc dot gnu.org> --- (In reply to Nicholas Krause from comment #9) > Created attachment 48318 [details] > Possible Fix No, it's not a fix, it just replaces an ICE with another ICE, as Martin already pointed out: 94628-3.C:5:40: internal compiler error: tree check: expected template_type_parm or template_template_parm or bound_template_template_parm, have nontype_argument_pack in instantiation_dependent_r, at cp/pt.c:26950 and doesn't fix the rejects-valid testcase, either. How many times do you have to be told to test your patches? Besides, Patrick is already working on this PR.