summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/27_io/filesystem
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-08-29 13:16:27 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2019-08-29 13:16:27 +0100
commitd02a0412422b144f6e84605997302a1c36e81600 (patch)
tree9e8df6dcc12b441a0fd8885d00d25c7f1e87a24b /libstdc++-v3/testsuite/27_io/filesystem
parent132e2b41ef9b7d77ba05a42b89d6ce4cda706e36 (diff)
PR libstdc++/91067 add more missing exports for directory iterators
PR libstdc++/91067 * acinclude.m4 (libtool_VERSION): Bump to 6:28:0. * configure: Regenerate. * config/abi/pre/gnu.ver (GLIBCXX_3.4.28): Add new version. Export missing symbols. * testsuite/27_io/filesystem/iterators/91067.cc: Test move constructors. * testsuite/util/testsuite_abi.cc: Add new symbol version. From-SVN: r275032
Diffstat (limited to 'libstdc++-v3/testsuite/27_io/filesystem')
-rw-r--r--libstdc++-v3/testsuite/27_io/filesystem/iterators/91067.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/27_io/filesystem/iterators/91067.cc b/libstdc++-v3/testsuite/27_io/filesystem/iterators/91067.cc
index 54172d9f20b..39fbc7b5d96 100644
--- a/libstdc++-v3/testsuite/27_io/filesystem/iterators/91067.cc
+++ b/libstdc++-v3/testsuite/27_io/filesystem/iterators/91067.cc
@@ -37,9 +37,25 @@ test02()
d = std::move(d);
}
+void
+test03()
+{
+ std::filesystem::directory_iterator d;
+ auto d2 = std::move(d);
+}
+
+void
+test04()
+{
+ std::filesystem::recursive_directory_iterator d;
+ auto d2 = std::move(d);
+}
+
int
main()
{
test01();
test02();
+ test03();
+ test04();
}