diff mbox series

[committed] libstdc++: Uncomment more parts of <chrono> synopsis test

Message ID YEiqzN/VJ/ysQ9TJ@redhat.com
State New
Headers show
Series [committed] libstdc++: Uncomment more parts of <chrono> synopsis test | expand

Commit Message

Jonathan Wakely March 10, 2021, 11:17 a.m. UTC
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.
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 mbox series

Patch

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;