[libcxx-commits] [PATCH] D103308: [libcxx] [test] Add UNSUPPORTED: msvc in a couple verify.cpp tests

Martin Storsjö via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon May 31 00:59:08 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG7d7b72bad7ff: [libcxx] [test] Add UNSUPPORTED: msvc in a couple verify.cpp tests (authored by mstorsjo).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103308

Files:
  libcxx/test/std/language.support/cmp/cmp.categories.pre/zero_type.verify.cpp
  libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/underlying_type.fail.cpp


Index: libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/underlying_type.fail.cpp
===================================================================
--- libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/underlying_type.fail.cpp
+++ libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/underlying_type.fail.cpp
@@ -8,6 +8,10 @@
 // UNSUPPORTED: c++03, c++11, c++14, c++17
 // type_traits
 
+// MSVC mode seems to use different rules regarding enum sizes, so E1
+// doesn't cause an error.
+// UNSUPPORTED: msvc
+
 // underlying_type
 // Mandates: enum must not be an incomplete enumeration type.
 
Index: libcxx/test/std/language.support/cmp/cmp.categories.pre/zero_type.verify.cpp
===================================================================
--- libcxx/test/std/language.support/cmp/cmp.categories.pre/zero_type.verify.cpp
+++ libcxx/test/std/language.support/cmp/cmp.categories.pre/zero_type.verify.cpp
@@ -10,6 +10,10 @@
 // UNSUPPORTED: c++03, c++11, c++14, c++17
 // UNSUPPORTED: apple-clang-9, apple-clang-10, apple-clang-11, apple-clang-12.0.0
 
+// In MSVC mode, there's a slightly different number of errors printed for
+// each of these, so it doesn't add up to the exact expected count of 18.
+// UNSUPPORTED: msvc
+
 // <compare>
 
 // Ensure we reject all cases where an argument other than a literal 0 is used


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103308.348739.patch
Type: text/x-patch
Size: 1355 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210531/827933cb/attachment.bin>


More information about the libcxx-commits mailing list