DEBUG: Trigger bug in icu4c-windows-cygwin-gcc.
diff --git a/icu4c/source/tools/ctestfw/tstdtmod.cpp b/icu4c/source/tools/ctestfw/tstdtmod.cpp index 66ab79a..5a8e1ef 100644 --- a/icu4c/source/tools/ctestfw/tstdtmod.cpp +++ b/icu4c/source/tools/ctestfw/tstdtmod.cpp
@@ -18,11 +18,6 @@ TestLog::~TestLog() {} -IcuTestErrorCode::IcuTestErrorCode(TestLog &callingTestClass, const char *callingTestName) - : errorCode(U_ZERO_ERROR), - testClass(callingTestClass), testName(callingTestName), scopeMessage() { -} - IcuTestErrorCode::~IcuTestErrorCode() { // Safe because our errlog() does not throw exceptions. if(isFailure()) {
diff --git a/icu4c/source/tools/ctestfw/unicode/testlog.h b/icu4c/source/tools/ctestfw/unicode/testlog.h index 1b5494b..a5e62e8 100644 --- a/icu4c/source/tools/ctestfw/unicode/testlog.h +++ b/icu4c/source/tools/ctestfw/unicode/testlog.h
@@ -40,7 +40,9 @@ class T_CTEST_EXPORT_API IcuTestErrorCode { IcuTestErrorCode(const IcuTestErrorCode&) = delete; IcuTestErrorCode& operator=(const IcuTestErrorCode&) = delete; - IcuTestErrorCode(TestLog &callingTestClass, const char *callingTestName); + IcuTestErrorCode(TestLog &callingTestClass, const char *callingTestName) + : errorCode(U_ZERO_ERROR), + testClass(callingTestClass), testName(callingTestName), scopeMessage() {} virtual ~IcuTestErrorCode(); // ErrorCode API