These tests for filesystem::copy_symlink should be disabled on targets
that don't support symlinks (or where the target does, but our
std::filesystem doesn't, such as mingw-w64).
libstdc++-v3/ChangeLog:
* testsuite/27_io/filesystem/operations/copy_symlink/1.cc: Add
dg-require-target-fs-symlinks.
* testsuite/27_io/filesystem/operations/copy_symlink/2.cc:
Likewise.
* testsuite/27_io/filesystem/operations/copy_symlink/3.cc:
Likewise.
* testsuite/27_io/filesystem/operations/copy_symlink/4.cc:
Likewise.
// { dg-do run { target c++17 } }
// { dg-require-filesystem-ts "" }
+// { dg-require-target-fs-symlinks "" }
#include <filesystem>
#include <testsuite_hooks.h>
// { dg-do run { target c++17 } }
// { dg-require-filesystem-ts "" }
+// { dg-require-target-fs-symlinks "" }
#include <filesystem>
#include <testsuite_hooks.h>
// { dg-do run { target c++17 } }
// { dg-require-filesystem-ts "" }
+// { dg-require-target-fs-symlinks "" }
#include <filesystem>
#include <testsuite_hooks.h>
// { dg-do run { target c++17 } }
// { dg-require-filesystem-ts "" }
+// { dg-require-target-fs-symlinks "" }
#include <filesystem>
#include <testsuite_hooks.h>