[committed] libstdc++: Uncomment more parts of <chrono> synopsis test
Jonathan Wakely
jwakely@redhat.com
Wed Mar 10 11:17:32 GMT 2021
libstdc++-v3/ChangeLog:
* testsuite/std/time/syn_c++20.cc: Enable synopsis checks for
C++20 calendar types.
Tested x86_64-linux. Committed to trunk.
-------------- next part --------------
commit e7afb82c358855510aa90ae9869663b614a732cb
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Wed Mar 10 11:14:17 2021
libstdc++: Uncomment more parts of <chrono> synopsis test
libstdc++-v3/ChangeLog:
* testsuite/std/time/syn_c++20.cc: Enable synopsis checks for
C++20 calendar types.
diff --git a/libstdc++-v3/testsuite/std/time/syn_c++20.cc b/libstdc++-v3/testsuite/std/time/syn_c++20.cc
index f0ca1d43da6..6ba181dcaf2 100644
--- a/libstdc++-v3/testsuite/std/time/syn_c++20.cc
+++ b/libstdc++-v3/testsuite/std/time/syn_c++20.cc
@@ -75,6 +75,7 @@ namespace __gnu_test
using std::chrono::clock_cast;
using std::chrono::last_spec;
+#endif
using std::chrono::day;
using std::chrono::month;
@@ -100,6 +101,8 @@ namespace __gnu_test
using std::chrono::make12;
using std::chrono::make24;
+ // FIXME
+#if 0
using std::chrono::tzdb;
using std::chrono::tzdb_list;
using std::chrono::get_tzdb;
@@ -130,6 +133,7 @@ namespace __gnu_test
using std::chrono::local_time_format;
using std::chrono::parse;
+#endif
using std::chrono::last;
using std::chrono::Sunday;
@@ -155,7 +159,6 @@ namespace __gnu_test
using std::chrono_literals::operator""d;
using std::chrono_literals::operator""y;
-#endif
template<typename>
constexpr bool is_duration = false;
More information about the Libstdc++
mailing list