]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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>
Tue, 17 May 2022 10:42:34 +0000 (11:42 +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.

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

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