diff --git a/icu4c/source/test/intltest/strcase.cpp b/icu4c/source/test/intltest/strcase.cpp index 70cb8a399674..5ac159dc03c3 100644 --- a/icu4c/source/test/intltest/strcase.cpp +++ b/icu4c/source/test/intltest/strcase.cpp @@ -531,6 +531,8 @@ StringCaseTest::TestCasingImpl(const UnicodeString &input, void StringCaseTest::TestCasing() { + // Crashes on Cygwin since ICU-22954 PR #3295, see ICU-22999. +#if U_PLATFORM != U_PF_CYGWIN UErrorCode status = U_ZERO_ERROR; #if !UCONFIG_NO_BREAK_ITERATION LocalUBreakIteratorPointer iter; @@ -616,6 +618,7 @@ StringCaseTest::TestCasing() { dataerrln("UnicodeString::toTitle(nullptr) failed."); } #endif +#endif } void