[committed] libstdc++: Use dg-bogus in new test [PR108554]
Checks
Commit Message
I messed up my first attempt to use dg-bogus with a typo, so didn't
include it in this new test. But it works if I fix the typo.
Tested x86_64-linux. Pushed to trunk.
-- >8 --
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 | 2 ++
1 file changed, 2 insertions(+)
@@ -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>