[libc++] Fix incorrect REQUIRES on a locale-dependent test

The test doesn't depend specifically on the en_US.UTF-8 locale, instead
it depends on whether localization support exists, period.

Differential Revision: https://reviews.llvm.org/D114708
This commit is contained in:
Louis Dionne 2021-11-29 09:58:57 -05:00
parent 23dc886226
commit a8278a747d

View File

@ -7,10 +7,9 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++03, c++11, c++14, c++17
// UNSUPPORTED: libcpp-has-no-localization
// UNSUPPORTED: libcpp-no-concepts
// REQUIRES: locale.en_US.UTF-8
#include <iterator>
#include <istream>