aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2022-05-17 09:32:36 +0100
committerJonathan Wakely <jwakely@redhat.com>2022-05-17 11:42:34 +0100
commit1815462a6e53465c404f8a5f6116891492d4b50b (patch)
tree212b19dc255afeee86961c004dcdb69dae9c3c0c
parent357d6fcd41e771128226b7916166f537b2d53a29 (diff)
downloadgcc-1815462a6e53465c404f8a5f6116891492d4b50b.zip
gcc-1815462a6e53465c404f8a5f6116891492d4b50b.tar.gz
gcc-1815462a6e53465c404f8a5f6116891492d4b50b.tar.bz2
libstdc++: Skip tests that fail for the versioned namespace
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.
-rw-r--r--libstdc++-v3/testsuite/20_util/expected/synopsis.cc1
-rw-r--r--libstdc++-v3/testsuite/27_io/headers/iosfwd/synopsis.cc1
2 files changed, 2 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/20_util/expected/synopsis.cc b/libstdc++-v3/testsuite/20_util/expected/synopsis.cc
index 304bae9..3a7eef3 100644
--- a/libstdc++-v3/testsuite/20_util/expected/synopsis.cc
+++ b/libstdc++-v3/testsuite/20_util/expected/synopsis.cc
@@ -1,5 +1,6 @@
// { dg-options "-std=gnu++23" }
// { dg-do compile { target c++23 } }
+// { dg-require-normal-namespace "" }
#include <expected>
diff --git a/libstdc++-v3/testsuite/27_io/headers/iosfwd/synopsis.cc b/libstdc++-v3/testsuite/27_io/headers/iosfwd/synopsis.cc
index 467d636..b6d3fa7 100644
--- a/libstdc++-v3/testsuite/27_io/headers/iosfwd/synopsis.cc
+++ b/libstdc++-v3/testsuite/27_io/headers/iosfwd/synopsis.cc
@@ -1,4 +1,5 @@
// { dg-do compile }
+// { dg-require-normal-namespace "" }
#include <iosfwd>