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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2022-11-10
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced testcase from the dup bug:

extern "C" int puts(const char*);

template <typename T>
class myclass {
public:

  void func(const T&) requires true
  {
     puts("true");
  }

  void func(const T&) requires false
  {
     puts("false");
  }
};                                                                              

auto mylambda = &myclass<int>::func;

Reply via email to