//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // treat_as_floating_point #include #include template void test() { static_assert((std::is_base_of, std::chrono::treat_as_floating_point >::value), ""); } struct A {}; int main() { test(); test(); test(); test(); test(); test(); test(); test(); }