commit 61c7322cf54504a421c23f168a164b70750fae65
parent 56946290183e636376b32d514974cbe6226d0c12
Author: d.levin256@gmail.com <d.levin256@gmail.com>
Date: Mon, 12 Aug 2024 11:52:54 +0100
Disable test that causes ICE in MSVC
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/tests/unit/base/basic_expressions.cpp b/tests/unit/base/basic_expressions.cpp
@@ -87,6 +87,8 @@ TEST(concatenate)
{ 5, 5, 5, 5, 5, 10, 10, 10, 10, 10 });
}
+#ifndef CMT_COMPILER_IS_MSVC
+// The following test causes ICE in recent MSVC
TEST(rebind)
{
auto c_minus_two = counter() - 2;
@@ -95,6 +97,7 @@ TEST(rebind)
CHECK_EXPRESSION(c_minus_two, infinite_size, [](size_t i) { return i - 2; });
CHECK_EXPRESSION(four_minus_c, infinite_size, [](size_t i) { return 4 - i; });
}
+#endif
TEST(test_arg_access)
{