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

            Bug ID: 121125
           Summary: ICE: canonical types differ for identical types 'auto
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hewillk at gmail dot com
  Target Milestone: ---

template<class, class>
concept C = true;

struct S {
  template<class T>
  auto f(T x) -> C<decltype(x)> auto;
};

template<class T>
auto S::f(T x) -> C<decltype(x)> auto;

Reply via email to