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

Drea Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |13.5
           Priority|P3                          |P4
            Summary|ICE when parsing dependent  |[13/14/15/16/17 Regression]
                   |return type E::T inside     |ICE when parsing dependent
                   |class template with enum    |return type E::T inside
                   |                            |class template with enum
      Known to work|                            |11.4.0
      Known to fail|                            |12.1.0
           Keywords|                            |error-recovery,
                   |                            |ice-on-invalid-code

--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
>Clang accepts this code:
That is a QoI issue on clang side. This code is invalid as E::T can never be
valid in this context.

Reply via email to