diff options
Diffstat (limited to 'libstdc++-v3/testsuite/22_locale/moneypunct/40712.cc')
-rw-r--r-- | libstdc++-v3/testsuite/22_locale/moneypunct/40712.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/22_locale/moneypunct/40712.cc b/libstdc++-v3/testsuite/22_locale/moneypunct/40712.cc index eb3c0b5069e..f0ff60ab0be 100644 --- a/libstdc++-v3/testsuite/22_locale/moneypunct/40712.cc +++ b/libstdc++-v3/testsuite/22_locale/moneypunct/40712.cc @@ -1,4 +1,4 @@ -// { dg-require-namedlocale "en_US" } +// { dg-require-namedlocale "en_US.ISO8859-1" } // 2009-07-18 Paolo Carlini <paolo.carlini@oracle.com> @@ -22,6 +22,7 @@ // 22.2.6.3 Template class moneypunct #include <locale> +#include <testsuite_hooks.h> // libstdc++/40712 void test01() @@ -29,7 +30,7 @@ void test01() bool test __attribute__((unused)) = true; using namespace std; - locale loc(locale("C"), "en_US", locale::monetary); + locale loc(locale("C"), ISO_8859(1,en_US), locale::monetary); use_facet<moneypunct<char> >(loc).grouping(); } |