[libcxx-commits] [libcxx] r371874 - Fix failing negative compilation test for some versions of Clang

Eric Fiselier via libcxx-commits libcxx-commits at lists.llvm.org
Fri Sep 13 10:39:07 PDT 2019


Author: ericwf
Date: Fri Sep 13 10:39:06 2019
New Revision: 371874

URL: http://llvm.org/viewvc/llvm-project?rev=371874&view=rev
Log:
Fix failing negative compilation test for some versions of Clang

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

Modified: libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/resize_not_move_insertable.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/resize_not_move_insertable.fail.cpp?rev=371874&r1=371873&r2=371874&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/resize_not_move_insertable.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/vector.modifiers/resize_not_move_insertable.fail.cpp Fri Sep 13 10:39:06 2019
@@ -31,6 +31,7 @@ public:
 
 int main() {
   // expected-error at memory:* 2 {{"The specified type does not meet the requirements of Cpp17MoveInsertable"}}
+  // expected-error at memory:* 0-2 {{call to deleted constructor}}
   {
 
     std::vector<BadUserNoCookie<1> > x;




More information about the libcxx-commits mailing list