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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Oops, I simplified the testcase, but didn't update it in bugzilla before
submitting the form. The output above corresponds to this code:

struct any {

  struct Arg { char c; };

  template<typename T>
    struct Manager
    {
      static void manage(const any*, Arg*) { }
    };
};

int main()
{
  auto lambda = [](){};
  auto f1 = &any::Manager<int>::manage;
  auto f2 = &any::Manager<decltype(lambda)>::manage;
  return 0;
}

Reply via email to