public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] libstdc++: Uncomment more parts of <chrono> synopsis test
@ 2021-03-10 11:17 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2021-03-10 11:17 UTC (permalink / raw)
  To: libstdc++, gcc-patches

[-- Attachment #1: Type: text/plain, Size: 154 bytes --]

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.


[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 1355 bytes --]

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-10 11:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-10 11:17 [committed] libstdc++: Uncomment more parts of <chrono> synopsis test Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).