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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2026-02-25
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Perhaps if we successfully parsed cp_parser_type_id_1 in
cp_parser_reflect_expression and the resulting type is TYPE_REF_P, we could
tentatively parse cp_parser_assignment_expression and warn if that worked? 
(Untested, and these things are usually trickier than that.)

Reply via email to