https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103853
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- The new test should also check the overload taking a comparison function. And if we do want to add the check for the rvalue overloads (which isn't required, but might be more user friendly, with a small overhead) those should be checked in the test as well.