[libcxx-commits] [PATCH] D93941: [libcxx] Mark a test as unsupported for C++03

Mikhail Maltsev via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Dec 30 04:25:30 PST 2020

miyuki created this revision.
miyuki added a reviewer: ldionne.
miyuki requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

The nullptr_t_integral_cast.pass.cpp test is currently xfailed for
C++03, but actually, it only fails with the first version of libc++

This patch changes XFAIL to UNSUPPORTED to avoid unexpected passes
with ABI v2 or later.

  rG LLVM Github Monorepo



Index: libcxx/test/std/language.support/support.types/nullptr_t_integral_cast.pass.cpp
--- libcxx/test/std/language.support/support.types/nullptr_t_integral_cast.pass.cpp
+++ libcxx/test/std/language.support/support.types/nullptr_t_integral_cast.pass.cpp
@@ -6,9 +6,9 @@
-// NOTE: nullptr_t emulation cannot handle a reinterpret_cast to an
-// integral type
-// XFAIL: c++03
+// NOTE: nullptr_t emulation (used in libc++ ABI v.1) cannot handle a
+// reinterpret_cast to an integral type
+// UNSUPPORTED: c++03
 // typedef decltype(nullptr) nullptr_t;

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93941.314096.patch
Type: text/x-patch
Size: 711 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20201230/480bc0ac/attachment.bin>

More information about the libcxx-commits mailing list