[libc++] Fix spurious test failure in -fno-exceptions
authorLouis Dionne <ldionne@apple.com>
Wed, 23 Sep 2020 23:44:03 +0000 (19:44 -0400)
committerLouis Dionne <ldionne@apple.com>
Wed, 23 Sep 2020 23:44:31 +0000 (19:44 -0400)
libcxx/test/std/containers/sequences/vector/vector.modifiers/resize_not_move_insertable.fail.cpp

index b3785a0..7964cc6 100644 (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;