test: wchar_t might be "unsigned short" for Win32 targets.

This commit is contained in:
NAKAMURA Takumi
2011-04-25 16:00:30 +09:00
parent 79356f49bd
commit ae185c2977
4 changed files with 18 additions and 0 deletions

View File

@@ -34,7 +34,11 @@ int main()
test<char, 2>();
test<signed char, 2>();
test<unsigned char, 2>();
#ifdef _WIN32
test<wchar_t, 4>();
#else
test<wchar_t, 9>();
#endif
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
test<char16_t, 4>();
test<char32_t, 9>();