[_GLIBCXX_INLINE_VERSION] Fix test dg-prune-output

Message ID 99765d4f-2ac6-5877-69b6-1bd8684c20ff@gmail.com
State Committed
Commit db58fa0b053327acfa42fbe6ca673e6eddd7852b
Headers
Series [_GLIBCXX_INLINE_VERSION] Fix test dg-prune-output |

Commit Message

François Dumont Sept. 14, 2022, 5:26 p.m. UTC
  libstdc++: [_GLIBCXX_INLINE_VERSION] Fix test dg-prune-output

     libstdc++-v3/ChangeLog:

             * 
testsuite/20_util/is_complete_or_unbounded/memoization_neg.cc: Adapt 
dg-prune-output to
             _GLIBCXX_INLINE_VERSION mode.


With this patch all tests are Ok in _GLIBCXX_INLINE_VERSION mode (at the 
time I'm writing this).

Ok to commit ?

François
  

Comments

Jonathan Wakely Sept. 15, 2022, 2:12 p.m. UTC | #1
On Wed, 14 Sept 2022 at 18:26, François Dumont via Libstdc++
<libstdc++@gcc.gnu.org> wrote:
>
>      libstdc++: [_GLIBCXX_INLINE_VERSION] Fix test dg-prune-output
>
>      libstdc++-v3/ChangeLog:
>
>              *
> testsuite/20_util/is_complete_or_unbounded/memoization_neg.cc: Adapt

Please put the "Adapt" on the next line. The file path is already
longer than the maximum line for a ChangeLog :-(

OK with that adjustment, thanks!

> dg-prune-output to
>              _GLIBCXX_INLINE_VERSION mode.
>
>
> With this patch all tests are Ok in _GLIBCXX_INLINE_VERSION mode (at the
> time I'm writing this).
>
> Ok to commit ?
>
> François
  

Patch

diff --git a/libstdc++-v3/testsuite/20_util/is_complete_or_unbounded/memoization_neg.cc b/libstdc++-v3/testsuite/20_util/is_complete_or_unbounded/memoization_neg.cc
index fc0b70b319c..bc66c13feee 100644
--- a/libstdc++-v3/testsuite/20_util/is_complete_or_unbounded/memoization_neg.cc
+++ b/libstdc++-v3/testsuite/20_util/is_complete_or_unbounded/memoization_neg.cc
@@ -1,6 +1,6 @@ 
 // { dg-do compile { target c++11 } }
 // { dg-prune-output "must be a complete" }
-// { dg-prune-output "'value' is not a member of 'std::is_move_cons" }
+// { dg-prune-output "'value' is not a member of 'std::(__8::)?is_move_cons" }
 // { dg-prune-output "invalid use of incomplete type" }
 
 // Copyright (C) 2019-2022 Free Software Foundation, Inc.