https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69743
--- Comment #2 from Konstantin Sadov <Konstantin.Sadov at gmail dot com> --- I just reproduced that in 4.9.3, but the error is a little different [error] error: no matching function for call to ‘f(int, int&, lots of int&, int&, double&)’ note: candidates are: note: template<class D, class ... T> void f(int, T ...) void f(int, T... d) note: substitution of deduced template arguments resulted in errors seen above note: template<class D, class ... T> void f(T ...) void f(T... d) note: substitution of deduced template arguments resulted in errors seen above [error]