On Thu, 1 Aug 2024 at 06:09, François Dumont <frs.dum...@gmail.com> wrote: > > Do you want me to take care of those 2 tests ?
Yes please. > > You seem to have started something on the review of dg-error patterns in > use. > > Here I kept the test variable because I fear to potentially have a > diagnostic about unused returned value. I thought about that too, but you can't have an unused return value from a function that doesn't compile. There's no return value, because itr != mapByName.end() doesn't compile, so there's no function that gets called, so no return type.