Fix bad test that was previously getting ifdef-ed away

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@272722 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2016-06-14 21:50:30 +00:00
parent d24c465bea
commit d0eba8d313

View File

@@ -23,8 +23,8 @@ test()
static_assert((std::is_base_of<std::is_floating_point<T>, static_assert((std::is_base_of<std::is_floating_point<T>,
std::chrono::treat_as_floating_point<T> >::value), ""); std::chrono::treat_as_floating_point<T> >::value), "");
#if TEST_STD_VER > 14 #if TEST_STD_VER > 14
static_assert((std::is_base_of<std::is_floating_point<T>, static_assert(std::is_floating_point<T>::value ==
std::chrono::treat_as_floating_point_v<T> >), ""); std::chrono::treat_as_floating_point_v<T>, "");
#endif #endif
} }