aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-01-27 11:28:37 +0000
committerJonathan Wakely <jwakely@redhat.com>2023-01-27 15:33:00 +0000
commit3adf6dd508491d26e21840a8a70b016f876edd53 (patch)
tree21ec0ba2e1c9d7a48a55ac1c6c5ebc82f899aca9
parentb799acef461bcb78d77819dd27c8e4806177d841 (diff)
downloadgcc-3adf6dd508491d26e21840a8a70b016f876edd53.zip
gcc-3adf6dd508491d26e21840a8a70b016f876edd53.tar.gz
gcc-3adf6dd508491d26e21840a8a70b016f876edd53.tar.bz2
libstdc++: Use dg-bogus in new test [PR108554]
libstdc++-v3/ChangeLog: PR libstdc++/108554 * testsuite/23_containers/map/modifiers/108554.cc: Use dg-bogus.
-rw-r--r--libstdc++-v3/testsuite/23_containers/map/modifiers/108554.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/23_containers/map/modifiers/108554.cc b/libstdc++-v3/testsuite/23_containers/map/modifiers/108554.cc
index 7076682..811a479 100644
--- a/libstdc++-v3/testsuite/23_containers/map/modifiers/108554.cc
+++ b/libstdc++-v3/testsuite/23_containers/map/modifiers/108554.cc
@@ -4,6 +4,8 @@
// PR libstdc++/108554
// Warning from -Wnull-dereference when extracting a unique_ptr from a map.
+// { dg-bogus "null pointer dereference" "PR 108554" { target *-*-* } 0 }
+
#include <map>
#include <memory>
#include <string>