libstdc++: Fix failing tests
authorJonathan Wakely <jwakely@redhat.com>
Mon, 8 Jun 2020 20:34:46 +0000 (21:34 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 8 Jun 2020 20:34:46 +0000 (21:34 +0100)
These started failing with the previous commit, because I forgot to add
the tests after adjusting them.

* testsuite/20_util/default_delete/48631_neg.cc: Adjust dg-error
line number.
* testsuite/20_util/default_delete/void_neg.cc: Likewise.

libstdc++-v3/testsuite/20_util/default_delete/48631_neg.cc
libstdc++-v3/testsuite/20_util/default_delete/void_neg.cc

index 6da5a52e28b05bf2df9c47fbc8c5ab0d98bbb69b..0e807c7d57a07b76514a857b2de32411db94e527 100644 (file)
@@ -26,4 +26,4 @@ struct D : B { };
 D d;
 std::default_delete<B[]> db;
 typedef decltype(db(&d)) type; // { dg-error "no match" }
-// { dg-error "no type" "" { target *-*-* } 115 }
+// { dg-error "no type" "" { target *-*-* } 116 }
index 149b699d1061e9c8cb3f520c74229f0643c9a363..9f281373b37ddf6deb3e138b1c47ede71cae231a 100644 (file)
@@ -25,5 +25,5 @@ void test01()
 {
   std::default_delete<void> d;
   d(nullptr);   // { dg-error "here" }
-  // { dg-error "incomplete" "" { target *-*-* } 80 }
+  // { dg-error "incomplete" "" { target *-*-* } 81 }
 }