mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-23 10:07:41 +08:00
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:
@@ -23,8 +23,8 @@ test()
|
||||
static_assert((std::is_base_of<std::is_floating_point<T>,
|
||||
std::chrono::treat_as_floating_point<T> >::value), "");
|
||||
#if TEST_STD_VER > 14
|
||||
static_assert((std::is_base_of<std::is_floating_point<T>,
|
||||
std::chrono::treat_as_floating_point_v<T> >), "");
|
||||
static_assert(std::is_floating_point<T>::value ==
|
||||
std::chrono::treat_as_floating_point_v<T>, "");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user