libstdc++: Skip tests that fail for the versioned namespace
authorJonathan Wakely <jwakely@redhat.com>
Tue, 17 May 2022 08:32:36 +0000 (09:32 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 27 May 2022 17:32:51 +0000 (18:32 +0100)
Most tests for the contents of header synopses need to be supressed for
the versioned namespace build, because redeclaring the entities in std
fails when they were originally declared in std::__8.

I added these tests recently without the suppression, so they fail.

libstdc++-v3/ChangeLog:

* testsuite/20_util/expected/synopsis.cc: Skip for versioned
namespace.
* testsuite/27_io/headers/iosfwd/synopsis.cc: Likewise.

(cherry picked from commit 1815462a6e53465c404f8a5f6116891492d4b50b)

libstdc++-v3/testsuite/20_util/expected/synopsis.cc
libstdc++-v3/testsuite/27_io/headers/iosfwd/synopsis.cc

index 304bae9..3a7eef3 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-options "-std=gnu++23" }
 // { dg-do compile { target c++23 } }
+// { dg-require-normal-namespace "" }
 
 #include <expected>