summaryrefslogtreecommitdiffstats
path: root/libcxx/test/input.output/iostream.format/ext.manip/put_money.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/input.output/iostream.format/ext.manip/put_money.pass.cpp')
-rw-r--r--libcxx/test/input.output/iostream.format/ext.manip/put_money.pass.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libcxx/test/input.output/iostream.format/ext.manip/put_money.pass.cpp b/libcxx/test/input.output/iostream.format/ext.manip/put_money.pass.cpp
index 46bd1b709a3..0b06818957e 100644
--- a/libcxx/test/input.output/iostream.format/ext.manip/put_money.pass.cpp
+++ b/libcxx/test/input.output/iostream.format/ext.manip/put_money.pass.cpp
@@ -51,7 +51,7 @@ int main()
{
testbuf<char> sb;
std::ostream os(&sb);
- os.imbue(std::locale("en_US"));
+ os.imbue(std::locale("en_US.UTF-8"));
showbase(os);
long double x = -123456789;
os << std::put_money(x, false);
@@ -60,7 +60,7 @@ int main()
{
testbuf<char> sb;
std::ostream os(&sb);
- os.imbue(std::locale("en_US"));
+ os.imbue(std::locale("en_US.UTF-8"));
showbase(os);
long double x = -123456789;
os << std::put_money(x, true);
@@ -69,7 +69,7 @@ int main()
{
testbuf<wchar_t> sb;
std::wostream os(&sb);
- os.imbue(std::locale("en_US"));
+ os.imbue(std::locale("en_US.UTF-8"));
showbase(os);
long double x = -123456789;
os << std::put_money(x, false);
@@ -78,7 +78,7 @@ int main()
{
testbuf<wchar_t> sb;
std::wostream os(&sb);
- os.imbue(std::locale("en_US"));
+ os.imbue(std::locale("en_US.UTF-8"));
showbase(os);
long double x = -123456789;
os << std::put_money(x, true);
OpenPOWER on IntegriCloud