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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Manuel López-Ibáñez from comment #0)
> /home/manuel/test3/src/gcc/testsuite/g++.dg/other/default5.C:47:22: error:
> default argument missing for parameter 2 of ‘void B<<anonymous> >::F2(int,
> int, int)’
>  template<int N> void B<N>::F2(int = 0, int, int) {}  // { dg-error
> "default" }
>                       ^
> 
> It should say 'void B<N>::F2(int,int,int)

That is PR 20313

> The location is wrong, it should point to parameter 2.

That part is fixed (see comment 2).

*** This bug has been marked as a duplicate of bug 20313 ***

Reply via email to