diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2023-08-31 18:35:12 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2023-09-01 12:13:34 +0100 |
commit | c07d82c12f2f17427a89188abad69af195590309 (patch) | |
tree | 5bc0358729917cc2dd7e351d3445319d2251b199 | |
parent | f2eb6132c6951edf7960a82828c571a1b98a1a09 (diff) | |
download | gcc-c07d82c12f2f17427a89188abad69af195590309.zip gcc-c07d82c12f2f17427a89188abad69af195590309.tar.gz gcc-c07d82c12f2f17427a89188abad69af195590309.tar.bz2 |
libstdc++: Use dg-require-filesystem-ts in link test
This test expects to be able to link, which fails if there are undefined
references to chdir, mkdir etc. in fs_ops.o in the libstdc++.a archive.
libstdc++-v3/ChangeLog:
* testsuite/27_io/filesystem/path/108636.cc: Add dg-require for
filesystem support.
-rw-r--r-- | libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc b/libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc index d58de46..73742df 100644 --- a/libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc +++ b/libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc @@ -1,5 +1,6 @@ // { dg-do link { target c++17 } } // { dg-options "-fkeep-inline-functions" } +// { dg-require-filesystem-ts "" } #include <filesystem> int main() |