aboutsummaryrefslogtreecommitdiffstats
path: root/test/std/localization/locale.categories/category.ctype/locale.ctype.byname/widen_1.pass.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2018-07-28 11:07:56 +0000
committerDimitry Andric <dim@FreeBSD.org>2018-07-28 11:07:56 +0000
commitf36202620b428c45a1c8d91743727c9313424fb2 (patch)
tree14928d8970ba4890a6370aca4c38fc832d45f21f /test/std/localization/locale.categories/category.ctype/locale.ctype.byname/widen_1.pass.cpp
parent0294ba5648d889e48ffee8ddad25944e258940ae (diff)
downloadsrc-f36202620b428c45a1c8d91743727c9313424fb2.tar.gz
src-f36202620b428c45a1c8d91743727c9313424fb2.zip
Vendor import of libc++ trunk r338150:vendor/libc++/libc++-trunk-r338150
Notes
Notes: svn path=/vendor/libc++/dist/; revision=336819 svn path=/vendor/libc++/libc++-trunk-r338150/; revision=336820; tag=vendor/libc++/libc++-trunk-r338150
Diffstat (limited to 'test/std/localization/locale.categories/category.ctype/locale.ctype.byname/widen_1.pass.cpp')
-rw-r--r--test/std/localization/locale.categories/category.ctype/locale.ctype.byname/widen_1.pass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/std/localization/locale.categories/category.ctype/locale.ctype.byname/widen_1.pass.cpp b/test/std/localization/locale.categories/category.ctype/locale.ctype.byname/widen_1.pass.cpp
index 8f51d12d7c75..1070fa613e53 100644
--- a/test/std/localization/locale.categories/category.ctype/locale.ctype.byname/widen_1.pass.cpp
+++ b/test/std/localization/locale.categories/category.ctype/locale.ctype.byname/widen_1.pass.cpp
@@ -55,7 +55,7 @@ int main()
assert(f.widen('.') == L'.');
assert(f.widen('a') == L'a');
assert(f.widen('1') == L'1');
-#ifdef __APPLE__
+#if defined(__APPLE__) || defined(__FreeBSD__)
assert(f.widen(char(-5)) == L'\u00fb');
#else
assert(f.widen(char(-5)) == wchar_t(-1));