https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84287
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |101603 Last reconfirmed|2018-02-08 00:00:00 |2021-7-23 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- clang mangles the function as: _Z1gIiEiT_PDTscM1SFvRKS0_EadL_ZNS1_1fERKiEE Which demangles as: int g<int>(int, decltype (static_cast<void (S::**)(int const&)>(&S::f))) Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101603 [Bug 101603] [meta-bug] pointer to member functions issues