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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
GCC 15 emits:

71377.C: In instantiation of ‘struct S<1, 1, 0>’:
71377.C:5:12:   required from ‘struct S<0, 1>’
    5 |     struct S: public S<N+1, M> { };
      |            ^
71377.C:11:17:   required from here
   11 |         S<0, 1> c{};
      |                 ^
71377.C:5:12: error: no type named ‘type’ in ‘struct std::enable_if<false,
void>’
    5 |     struct S: public S<N+1, M> { };
      |            ^

since r15-2761.

Reply via email to