https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108071
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- The ConstCharArrayDetector is getting instantiated with const char* const instead of const char[1], so the partial specialization doesn't match.