libstdc++: Use dg-bogus in new test [PR108554]
authorJonathan Wakely <jwakely@redhat.com>
Fri, 27 Jan 2023 11:28:37 +0000 (11:28 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 27 Jan 2023 15:33:00 +0000 (15:33 +0000)
libstdc++-v3/ChangeLog:

PR libstdc++/108554
* testsuite/23_containers/map/modifiers/108554.cc: Use dg-bogus.

libstdc++-v3/testsuite/23_containers/map/modifiers/108554.cc

index 7076682..811a479 100644 (file)
@@ -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>