https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92451
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-11-11 CC| |jason at gcc dot gnu.org, | |marxin at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> --- Started with r277865, before that it was rejected: pr92451.C: In function ‘void f()’: pr92451.C:3:12: error: class template argument deduction failed: 3 | Local(int); | ^ pr92451.C:3:12: error: no matching function for call to ‘Local()’ pr92451.C:1:29: note: candidate: ‘template<class T> Local(Local<T>)-> Local<T>’ 1 | template<typename T> struct Local {}; | ^~~~~ pr92451.C:1:29: note: template argument deduction/substitution failed: pr92451.C:3:12: note: candidate expects 1 argument, 0 provided 3 | Local(int); | ^ pr92451.C:3:8: error: missing template arguments before ‘(’ token 3 | Local(int); | ^ pr92451.C:3:9: error: expected primary-expression before ‘int’ 3 | Local(int); | ^~~