https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84893
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|8.0.1 |8.1.0 See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=83672 --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- EDG accepts it but Clang doesn't: 84893.cc:7:5: error: no matching function for call to 'f' f<bool>(g); ^~~~~~~ 84893.cc:2:6: note: candidate template ignored: failed template argument deduction void f(void(*)(T..., int)) { } ^ 1 error generated.