diff options
author | Martin Storsjö <martin@martin.st> | 2021-05-28 09:53:27 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2021-05-31 10:58:32 +0300 |
commit | 7d7b72bad7ff1fc22c79d535826de43452f3379d (patch) | |
tree | 542b6167cf6cbd6f826a9f479786db5e65b31c8c | |
parent | 5aa5eba135b7a5ee98ea99c56d3206891a260268 (diff) | |
download | llvm-7d7b72bad7ff1fc22c79d535826de43452f3379d.zip llvm-7d7b72bad7ff1fc22c79d535826de43452f3379d.tar.gz llvm-7d7b72bad7ff1fc22c79d535826de43452f3379d.tar.bz2 |
[libcxx] [test] Add UNSUPPORTED: msvc in a couple verify.cpp tests
Due to issues with the detection of the clang-verify feature, these
tests have been skipped in the Windows CI configuration so far.
Differential Revision: https://reviews.llvm.org/D103308
-rw-r--r-- | libcxx/test/std/language.support/cmp/cmp.categories.pre/zero_type.verify.cpp | 4 | ||||
-rw-r--r-- | libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/underlying_type.fail.cpp | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/libcxx/test/std/language.support/cmp/cmp.categories.pre/zero_type.verify.cpp b/libcxx/test/std/language.support/cmp/cmp.categories.pre/zero_type.verify.cpp index 7fd6749..55353f5 100644 --- a/libcxx/test/std/language.support/cmp/cmp.categories.pre/zero_type.verify.cpp +++ b/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 diff --git a/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/underlying_type.fail.cpp b/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/underlying_type.fail.cpp index 928f734..86954017 100644 --- a/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/underlying_type.fail.cpp +++ b/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. |