mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-23 18:38:30 +08:00
Revert commit r347904 because it broke older compilers
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@347908 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -14,8 +14,6 @@
|
||||
#include <limits>
|
||||
#include <cfloat>
|
||||
|
||||
#include "test_macros.h"
|
||||
|
||||
template <class T, int expected>
|
||||
void
|
||||
test()
|
||||
@@ -37,9 +35,6 @@ int main()
|
||||
test<signed char, 2>();
|
||||
test<unsigned char, 2>();
|
||||
test<wchar_t, 5*sizeof(wchar_t)/2-1>(); // 4 -> 9 and 2 -> 4
|
||||
#if TEST_STD_VER > 17
|
||||
test<char8_t, 2>();
|
||||
#endif
|
||||
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
|
||||
test<char16_t, 4>();
|
||||
test<char32_t, 9>();
|
||||
|
Reference in New Issue
Block a user