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

            Bug ID: 95486
           Summary: ICE for alias CTAD with non-dependent argument and
                    constrained constructor
           Product: gcc
           Version: 10.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: johelegp at gmail dot com
  Target Milestone: ---

See https://godbolt.org/z/cPWdGW.
```C++
template<class>
concept Auto = true;

template<class T, class U>
struct X { constexpr X(const Auto auto) {} };

template<class U>
using Y = X<long, U>;

constexpr Y y{1};
```

Reply via email to