Tested x86_64-linux. Pushed to trunk.
-- >8 --
libstdc++-v3/ChangeLog:
* testsuite/27_io/filesystem/iterators/91067.cc: Add
-Wno-self-move to options.
* testsuite/27_io/filesystem/path/assign/copy.cc: Likewise.
---
libstdc++-v3/testsuite/27_io/filesystem/iterators/91067.cc | 1 +
libstdc++-v3/testsuite/27_io/filesystem/path/assign/copy.cc | 1 +
2 files changed, 2 insertions(+)
diff --git a/libstdc++-v3/testsuite/27_io/filesystem/iterators/91067.cc
b/libstdc++-v3/testsuite/27_io/filesystem/iterators/91067.cc
index b960ee7c798..2bf1e081c25 100644
--- a/libstdc++-v3/testsuite/27_io/filesystem/iterators/91067.cc
+++ b/libstdc++-v3/testsuite/27_io/filesystem/iterators/91067.cc
@@ -17,6 +17,7 @@
// { dg-do link { target c++17 } }
// { dg-require-filesystem-ts "" }
+// { dg-options "-Wno-self-move" }
#include <filesystem>
diff --git a/libstdc++-v3/testsuite/27_io/filesystem/path/assign/copy.cc
b/libstdc++-v3/testsuite/27_io/filesystem/path/assign/copy.cc
index dc147b1cf3b..6ec347531bc 100644
--- a/libstdc++-v3/testsuite/27_io/filesystem/path/assign/copy.cc
+++ b/libstdc++-v3/testsuite/27_io/filesystem/path/assign/copy.cc
@@ -1,4 +1,5 @@
// { dg-do run { target c++17 } }
+// { dg-options "-Wno-self-move" }
// Copyright (C) 2014-2023 Free Software Foundation, Inc.
//
--
2.41.0