diff --git a/libcxx/utils/libcxx/test/features.py b/libcxx/utils/libcxx/test/features.py --- a/libcxx/utils/libcxx/test/features.py +++ b/libcxx/utils/libcxx/test/features.py @@ -99,7 +99,7 @@ # Check for a Windows UCRT bug (fixed in UCRT/Windows 10.0.19041.0). # https://developercommunity.visualstudio.com/t/printf-formatting-with-g-outputs-too/1660837 Feature(name='win32-broken-printf-g-precision', - when=lambda cfg: not '_LIBCPP_HAS_NO_LOCALIZATION' in compilerMacros(cfg) and '_WIN32' in compilerMacros(cfg) and not programSucceeds(cfg, """ + when=lambda cfg: '_WIN32' in compilerMacros(cfg) and not programSucceeds(cfg, """ #include #include int main(int, char**) {