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

            Bug ID: 99387
           Summary: ICE when mixing CNTTP with deduction guides
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: omer.rosler at gmail dot com
  Target Milestone: ---

https://godbolt.org/z/n55re3

This code causes an ICE (while clang rejects it).
Changing line 21 to `template<auto templ>` causes a deduction failure (which is
wrong).

Reply via email to