]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/21_strings/basic_string_view/operations/find/char/nonnull.cc
libstdc++: Avoid warnings in tests
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 21_strings / basic_string_view / operations / find / char / nonnull.cc
index 97c7629d388fa5e886b9aac52d55d3a28f37ce7a..1025396fba2650029447fb05b6646ed69e8136c1 100644 (file)
@@ -31,3 +31,6 @@ test01()
   return s.find_first_not_of((const char*)nullptr); // { dg-warning "\\\[-Wnonnull" }
   return s.find_first_not_of((const char*)nullptr, 1); // { dg-warning "\\\[-Wnonnull" }
 }
+
+// Ignore additional diagnostic given with -Wsystem-headers:
+// { dg-prune-output "argument . null where non-null expected" }