]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Use dg-require-filesystem-ts in link test
authorJonathan Wakely <jwakely@redhat.com>
Thu, 31 Aug 2023 17:35:12 +0000 (18:35 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 1 Sep 2023 11:13:34 +0000 (12:13 +0100)
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.

libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc

index d58de461090d79e2c733f51a9a6193b523758d0c..73742df93b054c1e6c8edcd163ea966c9bc19e94 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do link { target c++17 } }
 // { dg-options "-fkeep-inline-functions" }
+// { dg-require-filesystem-ts "" }
 
 #include <filesystem>
 int main()