[libc++] Fix spurious test failure in -fno-exceptions

This commit is contained in:
Louis Dionne 2020-09-23 19:44:03 -04:00
parent 751f5c8146
commit 23291e8ec7
1 changed files with 3 additions and 0 deletions

View File

@ -33,7 +33,10 @@ public:
int main() {
// expected-error@memory:* 2 {{"The specified type does not meet the requirements of Cpp17MoveInsertable"}}
// Other diagnostics that might be seen as Clang tries to continue compiling:
// expected-error@memory:* 0-2 {{call to deleted constructor}}
// expected-error@memory:* 0-2 {{no matching function for call to 'construct_at'}}
{
std::vector<BadUserNoCookie<1> > x;