public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH][_GLIBCXX_INLINE_VERSION] Adapt dg-error messages
@ 2024-02-22  5:53 François Dumont
  0 siblings, 0 replies; only message in thread
From: François Dumont @ 2024-02-22  5:53 UTC (permalink / raw)
  To: libstdc++; +Cc: gcc-patches

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

For those using my patch to build in gnu-versioned-namespace mode it 
would be preferable not to have any failures when running testsuite.

     libstdc++: [_GLIBCXX_INLINE_VERSION] Adapt dg-error message

     libstdc++-v3/ChangeLog:

             * testsuite/20_util/function_objects/bind_back/111327.cc: 
Adapt dg-error message
             for __8 namespace.
             * testsuite/20_util/function_objects/bind_front/111327.cc: 
Likewise.

Ok to commit ?

François

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

diff --git a/libstdc++-v3/testsuite/20_util/function_objects/bind_back/111327.cc b/libstdc++-v3/testsuite/20_util/function_objects/bind_back/111327.cc
index d634db9dc1d..f8a65127ccf 100644
--- a/libstdc++-v3/testsuite/20_util/function_objects/bind_back/111327.cc
+++ b/libstdc++-v3/testsuite/20_util/function_objects/bind_back/111327.cc
@@ -39,4 +39,4 @@ int main() {
   std::move(std::as_const(g1))();
 }
 
-// { dg-error "no type named 'type' in 'struct std::invoke_result" "" { target c++23 } 0 }
+// { dg-error "no type named 'type' in 'struct std::(__8::)?invoke_result" "" { target c++23 } 0 }
diff --git a/libstdc++-v3/testsuite/20_util/function_objects/bind_front/111327.cc b/libstdc++-v3/testsuite/20_util/function_objects/bind_front/111327.cc
index 5fe0a83baec..896492b3d74 100644
--- a/libstdc++-v3/testsuite/20_util/function_objects/bind_front/111327.cc
+++ b/libstdc++-v3/testsuite/20_util/function_objects/bind_front/111327.cc
@@ -39,4 +39,4 @@ int main() {
   std::move(std::as_const(g1))();
 }
 
-// { dg-error "no type named 'type' in 'struct std::invoke_result" "" { target c++23 } 0 }
+// { dg-error "no type named 'type' in 'struct std::(__8::)?invoke_result" "" { target c++23 } 0 }

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

only message in thread, other threads:[~2024-02-22  5:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-22  5:53 [PATCH][_GLIBCXX_INLINE_VERSION] Adapt dg-error messages François Dumont

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).