Port make_[un]signed tests to platforms where sizeof(wchar_t) == 2.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@186136 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e840208989
commit
ef7a7b730c
@ -43,8 +43,8 @@ int main()
|
||||
test_make_signed< unsigned long, long >();
|
||||
test_make_signed< long long, signed long long >();
|
||||
test_make_signed< unsigned long long, signed long long >();
|
||||
test_make_signed< wchar_t, int >();
|
||||
test_make_signed< const wchar_t, const int >();
|
||||
test_make_signed< wchar_t, std::conditional<sizeof(wchar_t) == 4, int, short>::type >();
|
||||
test_make_signed< const wchar_t, std::conditional<sizeof(wchar_t) == 4, const int, const short>::type >();
|
||||
test_make_signed< const Enum, const int >();
|
||||
test_make_signed< BigEnum, std::conditional<sizeof(long) == 4, long long, long>::type >();
|
||||
}
|
||||
|
@ -43,8 +43,8 @@ int main()
|
||||
test_make_unsigned<unsigned long, unsigned long> ();
|
||||
test_make_unsigned<long long, unsigned long long> ();
|
||||
test_make_unsigned<unsigned long long, unsigned long long> ();
|
||||
test_make_unsigned<wchar_t, unsigned int> ();
|
||||
test_make_unsigned<const wchar_t, const unsigned int> ();
|
||||
test_make_unsigned<wchar_t, std::conditional<sizeof(wchar_t) == 4, unsigned int, unsigned short>::type> ();
|
||||
test_make_unsigned<const wchar_t, std::conditional<sizeof(wchar_t) == 4, const unsigned int, const unsigned short>::type> ();
|
||||
test_make_unsigned<const Enum, const unsigned int> ();
|
||||
test_make_unsigned<BigEnum,
|
||||
std::conditional<sizeof(long) == 4, unsigned long long, unsigned long>::type> ();
|
||||
|
Loading…
x
Reference in New Issue
Block a user