https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116492
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org, | |ppalka at gcc dot gnu.org Alias| |cwg2789 --- Comment #4 from Patrick Palka <ppalka at gcc dot gnu.org> --- More reduced: template<class T> struct A { A() requires true = delete; // #1 }; struct B : A<int> { using A<int>::A; B(); // #2 }; B b; // GCC and Clang-17 select #1, MSVC/Clang-18 select #2 This seems to be a recent behavior change in the standard, https://wg21.link/cwg2789, which GCC doesn't fully implement, in particular the ... if they are member functions, both are direct members of the same class, and ... part.