aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-03-10 11:14:17 +0000
committerJonathan Wakely <jwakely@redhat.com>2021-03-10 11:14:27 +0000
commite7afb82c358855510aa90ae9869663b614a732cb (patch)
treeec7eb5e2bd8c19bdacd6e79c7602948a2c28a08a
parent5987d8a79cda1069c774e5c302d5597310270026 (diff)
downloadgcc-e7afb82c358855510aa90ae9869663b614a732cb.zip
gcc-e7afb82c358855510aa90ae9869663b614a732cb.tar.gz
gcc-e7afb82c358855510aa90ae9869663b614a732cb.tar.bz2
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.
-rw-r--r--libstdc++-v3/testsuite/std/time/syn_c++20.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/std/time/syn_c++20.cc b/libstdc++-v3/testsuite/std/time/syn_c++20.cc
index f0ca1d4..6ba181d 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;