diff options
author | David Chisnall <csdavec@swan.ac.uk> | 2011-09-21 14:59:10 +0000 |
---|---|---|
committer | David Chisnall <csdavec@swan.ac.uk> | 2011-09-21 14:59:10 +0000 |
commit | 71850c961d86d1cb657a83b98241ee5c35cda21c (patch) | |
tree | c7662d3345a878ed64f40a4b40aeac089887906b /libcxx/test/input.output/iostream.format/ext.manip/put_time.pass.cpp | |
parent | b25f615c588edb959545f551a25e168aafacfbfa (diff) | |
download | bcm5719-llvm-71850c961d86d1cb657a83b98241ee5c35cda21c.tar.gz bcm5719-llvm-71850c961d86d1cb657a83b98241ee5c35cda21c.zip |
More fixes to the tests. Add UTF-8 encoding to all locales that don't specify one. Undefine some stdio.h macros that break the tests.
llvm-svn: 140252
Diffstat (limited to 'libcxx/test/input.output/iostream.format/ext.manip/put_time.pass.cpp')
-rw-r--r-- | libcxx/test/input.output/iostream.format/ext.manip/put_time.pass.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/input.output/iostream.format/ext.manip/put_time.pass.cpp b/libcxx/test/input.output/iostream.format/ext.manip/put_time.pass.cpp index 3276dbdf537..9f5710d9153 100644 --- a/libcxx/test/input.output/iostream.format/ext.manip/put_time.pass.cpp +++ b/libcxx/test/input.output/iostream.format/ext.manip/put_time.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")); std::tm t = {0}; t.tm_sec = 59; t.tm_min = 55; @@ -66,7 +66,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")); std::tm t = {0}; t.tm_sec = 59; t.tm_min = 55; |