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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |ppalka at gcc dot 
gnu.org
             Status|NEW                         |ASSIGNED

--- Comment #5 from Patrick Palka <ppalka at gcc dot gnu.org> ---
A bit more reduced, demostrating it's not specific to UDLs:

struct udl_arg {
  udl_arg operator=(int);
};

void g(udl_arg&&);

template<class T>
void h() {
  udl_arg x;
  g(x=42);
}

int main() {
  h<int>();
}

Reply via email to