forked from OSchip/llvm-project
Fix bad test that was previously getting ifdef-ed away
llvm-svn: 272722
This commit is contained in:
parent
d737dd2ec6
commit
1317a251c5
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue