A few fixes to tests for Windows port.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@186334 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Howard Hinnant
2013-07-15 18:09:11 +00:00
parent ac93d0ebf2
commit 1f96a4df58
3 changed files with 5 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ int main()
test<char, 2>();
test<signed char, 2>();
test<unsigned char, 2>();
test<wchar_t, 9>();
test<wchar_t, 5*sizeof(wchar_t)/2-1>(); // 4 -> 9 and 2 -> 4
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t, 4>();
test<char32_t, 9>();