diff --git a/icu4c/source/i18n/numparse_currency.h b/icu4c/source/i18n/numparse_currency.h index 7fb0913e50b..57033034af6 100644 --- a/icu4c/source/i18n/numparse_currency.h +++ b/icu4c/source/i18n/numparse_currency.h @@ -29,7 +29,8 @@ using ::icu::number::impl::CurrencySymbols; * * @author sffc */ -class CombinedCurrencyMatcher : public NumberParseMatcher, public UMemory { +// Exported as U_I18N_API for tests +class U_I18N_API CombinedCurrencyMatcher : public NumberParseMatcher, public UMemory { public: CombinedCurrencyMatcher() = default; // WARNING: Leaves the object in an unusable state diff --git a/icu4c/source/i18n/numparse_symbols.h b/icu4c/source/i18n/numparse_symbols.h index 9c39156d5cb..9cd69ffb8dd 100644 --- a/icu4c/source/i18n/numparse_symbols.h +++ b/icu4c/source/i18n/numparse_symbols.h @@ -20,7 +20,8 @@ namespace impl { * * @author sffc */ -class SymbolMatcher : public NumberParseMatcher, public UMemory { +// Exported as U_I18N_API for tests +class U_I18N_API SymbolMatcher : public NumberParseMatcher, public UMemory { public: SymbolMatcher() = default; // WARNING: Leaves the object in an unusable state