Since the revision I see: $ cat layout.ii template <class> class Stringify; template <long N> class Stringify<const char[N]>; $ g++ layout.ii -c layout.ii:2:25: error: partial specialization ‘class Stringify<const char [N]>’ is not more specialized than [-fpermissive] 2 | template <long N> class Stringify<const char[N]>; | ^~~~~~~~~~~~~~~~~~~~~~~~ layout.ii:1:24: note: primary template ‘template<class> class Stringify’ 1 | template <class> class Stringify; | ^~~~~~~~~
The master branch has been updated by Nathan Sidwell <nathan@gcc.gnu.org>: https://gcc.gnu.org/g:7254a78cf4c419a9b9361289d8c535130cf1dfd0 commit r11-5712-g7254a78cf4c419a9b9361289d8c535130cf1dfd0 Author: Nathan Sidwell <nathan@acm.org> Date: Thu Dec 3 08:40:43 2020 -0800 c++: Testcases [PR 98115] These two testcases provide coverage for 98115, which doesn't trigger on all hosts. PR c++/98115 PR c++/98116 gcc/testsuite/ * g++.dg/template/pr98115.C: New. * g++.dg/template/pr98116.C: New.
Fixed 7254a78cf4c