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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Clang says:

v.cc:7:5: error: no matching function for call to 'f'
    f(1, 2, 3, 4);
    ^
v.cc:2:8: note: candidate template ignored: couldn't infer template argument
'Y'
  void f(X... x, Y y) {
       ^
1 error generated.


EDG says:

"v.cc", line 7: error: no instance of function template "f" matches the
          argument list
            argument types are: (int, int, int, int)
      f(1, 2, 3, 4);
      ^

Reply via email to