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

            Bug ID: 98832
           Summary: CTAD fails for alias template of aggregate with
                    specified undeducible template parameter
           Product: gcc
           Version: 11.0
               URL: https://godbolt.org/z/M1eqvq
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: johelegp at gmail dot com
                CC: johelegp at gmail dot com
  Target Milestone: ---

See https://godbolt.org/z/M1eqvq.
```C++
template<class T,class U>struct X{U u;};
template<class T>using Y=X<int,T>;
Y y{0};
```

Reply via email to