Fix bad test that was previously getting ifdef-ed away

llvm-svn: 272722
This commit is contained in:
Eric Fiselier 2016-06-14 21:50:30 +00:00
parent d737dd2ec6
commit 1317a251c5
1 changed files with 2 additions and 2 deletions

View File

@ -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
}