[Bug c++/94946] [10/11 Regression] error: ‘template<class returnType> JSC::FunctionPtr::FunctionPtr(returnType (*)())’ cannot be overloaded since r10-7998-g5f1cd1da1a805c3d

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 5 04:10:19 GMT 2020


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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needs-reduction             |rejects-valid

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Reduced test-case:

$ cat qt.ii
class a {
  template <typename b> a(b());
  template <typename b> a(b(__attribute__((fastcall)) c)());
};


More information about the Gcc-bugs mailing list