https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97476
Bug ID: 97476 Summary: Use of NTTP placeholder checked for CTAD before instantiation Product: gcc Version: 11.0 URL: https://godbolt.org/z/ocWhn8 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 the URL. ```C++ template <int I> struct S { }; template <S s> class C { }; template <S s> using A = C<s>; ``` [93083](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93083) may be a duplicate of this.