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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #3 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Fixed.

I think the reduced testcase in #c1 is invalid as-is -- the requirement
"e.operator c;" should be "e.operator c();", because according to [expr.ref]:

   [The expression E1.E2 where E2 refers to a non-static member function] can
be used only as the left-hand operand of a member function call.

I committed the reduced testcase with that change.

Reply via email to