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.
This commit is contained in:
Jonathan Wakely 2020-06-08 21:34:46 +01:00
parent 931fdcc532
commit a37fbff12c
2 changed files with 2 additions and 2 deletions

View 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 }

View 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 }
}