https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99586
Bug ID: 99586 Summary: Use of class template identifier checked for CTAD before instantiation Product: gcc Version: 11.0 URL: https://godbolt.org/z/4KWWjT 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/4KWWjT. ```C++ #include<array> template<auto>struct A{}; template<auto... V>A a=A<std::array{V...}>{}; ```