https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94008
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Nicholas Krause from comment #1) > Your passing into std::move and then again. That's incorrect as your moving > and moving again into the test_lamba. No, that's not what the code does.