From b2240f750882bc7f4263b43dbf4b84894a830634 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Sat, 11 Jul 2020 13:46:04 +0200 Subject: [PATCH] :checkered_flag: remove failing code for Clang/Windows --- test/src/unit-regression.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/src/unit-regression.cpp b/test/src/unit-regression.cpp index 655d8dd30..cd3f53696 100644 --- a/test/src/unit-regression.cpp +++ b/test/src/unit-regression.cpp @@ -1965,9 +1965,14 @@ TEST_CASE("regression tests, exceptions dependent") ///////////////////////////////////////////////////////////////////// // for #1642 ///////////////////////////////////////////////////////////////////// + +// the code below fails with Clang on Windows, so we need to exclude it there +#if defined(__clang__) && (defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__)) +#else template class array {}; template class object {}; template class string {}; template class number_integer {}; template class number_unsigned {}; template class number_float {}; +#endif