[libcxx-commits] [libcxx] 23291e8 - [libc++] Fix spurious test failure in -fno-exceptions

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Sep 23 16:44:39 PDT 2020


Author: Louis Dionne
Date: 2020-09-23T19:44:31-04:00
New Revision: 23291e8ec7e8f54db56ff77b61313e9d55a23861

URL: https://github.com/llvm/llvm-project/commit/23291e8ec7e8f54db56ff77b61313e9d55a23861
DIFF: https://github.com/llvm/llvm-project/commit/23291e8ec7e8f54db56ff77b61313e9d55a23861.diff

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

Added: 
    

Modified: 
    libcxx/test/std/containers/sequences/vector/vector.modifiers/resize_not_move_insertable.fail.cpp

Removed: 
    


################################################################################
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 @@ class BadUserNoCookie {
 
 int main() {
   // expected-error at 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 at memory:* 0-2 {{call to deleted constructor}}
+  // expected-error at memory:* 0-2 {{no matching function for call to 'construct_at'}}
   {
 
     std::vector<BadUserNoCookie<1> > x;


        


More information about the libcxx-commits mailing list