https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118302

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 60048
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60048&action=edit
Another testcase

If you remove const or static for N inside the template function, GCC will
reject it too.

Reply via email to