From a37fbff12c3a441753f5eb677cebeab7350f24eb Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Mon, 8 Jun 2020 21:34:46 +0100 Subject: [PATCH] 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. --- libstdc++-v3/testsuite/20_util/default_delete/48631_neg.cc | 2 +- libstdc++-v3/testsuite/20_util/default_delete/void_neg.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 } } -- 2.30.2