diff mbox series

[_GLIBCXX_INLINE_VERSION] Adapt dg-error messages

Message ID 77aaca73-7aa8-4d75-b5d2-96d10fd0e759@gmail.com
State New
Headers show
Series [_GLIBCXX_INLINE_VERSION] Adapt dg-error messages | expand

Commit Message

François Dumont Feb. 22, 2024, 5:53 a.m. UTC
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
diff mbox series

Patch

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 }