https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104578
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[12 Regression] accepts |[12 Regression][CWG1315] |invalid partial template |accepts invalid partial |specialization, non-type |template specialization, |template argument depends |non-type template argument |on a template parameter |depends on a template | |parameter CC| |jason at gcc dot gnu.org, | |ppalka at gcc dot gnu.org Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> --- This was changed by r12-1093, which implements https://wg21.link/cwg1315 . This testcase seems like exactly the sort of thing that DR1315 intended to allow.