From: Jonathan Wakely Date: Mon, 8 Jun 2020 20:34:46 +0000 (+0100) Subject: libstdc++: Fix failing tests X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a37fbff12c3a441753f5eb677cebeab7350f24eb;p=gcc.git libstdc++: Fix failing tests 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. --- diff --git a/libstdc++-v3/testsuite/20_util/default_delete/48631_neg.cc b/libstdc++-v3/testsuite/20_util/default_delete/48631_neg.cc index 6da5a52e28b..0e807c7d57a 100644 --- a/libstdc++-v3/testsuite/20_util/default_delete/48631_neg.cc +++ b/libstdc++-v3/testsuite/20_util/default_delete/48631_neg.cc @@ -26,4 +26,4 @@ struct D : B { }; D d; std::default_delete db; typedef decltype(db(&d)) type; // { dg-error "no match" } -// { dg-error "no type" "" { target *-*-* } 115 } +// { dg-error "no type" "" { target *-*-* } 116 } diff --git a/libstdc++-v3/testsuite/20_util/default_delete/void_neg.cc b/libstdc++-v3/testsuite/20_util/default_delete/void_neg.cc index 149b699d106..9f281373b37 100644 --- a/libstdc++-v3/testsuite/20_util/default_delete/void_neg.cc +++ b/libstdc++-v3/testsuite/20_util/default_delete/void_neg.cc @@ -25,5 +25,5 @@ void test01() { std::default_delete d; d(nullptr); // { dg-error "here" } - // { dg-error "incomplete" "" { target *-*-* } 80 } + // { dg-error "incomplete" "" { target *-*-* } 81 } }