[libcxx-commits] [PATCH] D81559: [libcxx] Fix std::vector construct_iter_iter.pass.cpp test (C++98/03)

Mikhail Maltsev via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jun 10 06:35:22 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG4e94bdceb0f9: [libcxx] Fix std::vector construct_iter_iter.pass.cpp test (C++98/03) (authored by miyuki).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81559/new/

https://reviews.llvm.org/D81559

Files:
  libcxx/test/std/containers/sequences/vector/vector.cons/construct_iter_iter.pass.cpp


Index: libcxx/test/std/containers/sequences/vector/vector.cons/construct_iter_iter.pass.cpp
===================================================================
--- libcxx/test/std/containers/sequences/vector/vector.cons/construct_iter_iter.pass.cpp
+++ libcxx/test/std/containers/sequences/vector/vector.cons/construct_iter_iter.pass.cpp
@@ -180,7 +180,7 @@
     // Though the types are different, initialization can be done with `memcpy`.
     int32_t array[1] = { -1 };
     std::vector<uint32_t> v(array, array + 1);
-    assert(v[0] == 4294967295);
+    assert(v[0] == 4294967295U);
   }
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81559.269832.patch
Type: text/x-patch
Size: 597 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20200610/e311f300/attachment.bin>


More information about the libcxx-commits mailing list