From 23291e8ec7e8f54db56ff77b61313e9d55a23861 Mon Sep 17 00:00:00 2001
From: Louis Dionne <ldionne@apple.com>
Date: Wed, 23 Sep 2020 19:44:03 -0400
Subject: [PATCH] [libc++] Fix spurious test failure in -fno-exceptions

---
 .../vector.modifiers/resize_not_move_insertable.fail.cpp       | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libcxx/test/std/containers/sequences/vector/vector.modifiers/resize_not_move_insertable.fail.cpp b/libcxx/test/std/containers/sequences/vector/vector.modifiers/resize_not_move_insertable.fail.cpp
index b3785a0ccb65..7964cc6ee772 100644
--- a/libcxx/test/std/containers/sequences/vector/vector.modifiers/resize_not_move_insertable.fail.cpp
+++ b/libcxx/test/std/containers/sequences/vector/vector.modifiers/resize_not_move_insertable.fail.cpp
@@ -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;