https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80762
--- Comment #13 from Jonathan Wakely <redi at gcc dot gnu.org> --- But it's a { dg-do compile } test so doesn't need the linker option. So I don't know how this is failing still. If the <experimental/filesystem> header is absent, the test shouldn't run.