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