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:
parent
931fdcc532
commit
a37fbff12c
@ -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 }
|
||||
|
@ -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 }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user