diff --git a/icu4c/source/test/intltest/calregts.cpp b/icu4c/source/test/intltest/calregts.cpp index 70db29f4a6..7d05e096dd 100644 --- a/icu4c/source/test/intltest/calregts.cpp +++ b/icu4c/source/test/intltest/calregts.cpp @@ -203,6 +203,10 @@ CalendarRegressionTest::Test9019() UErrorCode status = U_ZERO_ERROR; LocalPointer cal1(new GregorianCalendar(status)); LocalPointer cal2(new GregorianCalendar(status)); + cal1->set(UCAL_HOUR, 1); + cal2->set(UCAL_HOUR,2); + cal1->clear(); + cal2->clear(); if(U_FAILURE(status)) { dataerrln("Error creating Calendar: %s", u_errorName(status)); return;