Run the min/max tests agaist the header <charconv>. Fix that header so it passes. NFC.

llvm-svn: 345352
This commit is contained in:
Marshall Clow 2018-10-26 01:00:56 +00:00
parent a2a2f2efba
commit 27e9fdb2ff
2 changed files with 7 additions and 0 deletions

View File

@ -87,6 +87,9 @@ namespace std {
#pragma GCC system_header #pragma GCC system_header
#endif #endif
_LIBCPP_PUSH_MACROS
#include <__undef_macros>
_LIBCPP_BEGIN_NAMESPACE_STD _LIBCPP_BEGIN_NAMESPACE_STD
namespace __itoa { namespace __itoa {
@ -609,4 +612,6 @@ from_chars(const char* __first, const char* __last, _Tp& __value, int __base)
_LIBCPP_END_NAMESPACE_STD _LIBCPP_END_NAMESPACE_STD
_LIBCPP_POP_MACROS
#endif // _LIBCPP_CHARCONV #endif // _LIBCPP_CHARCONV

View File

@ -46,6 +46,8 @@ TEST_MACROS();
TEST_MACROS(); TEST_MACROS();
#include <cfloat> #include <cfloat>
TEST_MACROS(); TEST_MACROS();
#include <charconv>
TEST_MACROS();
#include <chrono> #include <chrono>
TEST_MACROS(); TEST_MACROS();
#include <cinttypes> #include <cinttypes>