diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2015-11-30 05:39:30 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2015-11-30 05:39:30 +0000 |
commit | b8427293df2b4cfa2cde30ef26db560d6b79e84e (patch) | |
tree | 99513a27088a6e05fcb0ace69bf8c090767992b6 /libcxx/test/std/utilities/time | |
parent | 12dff9e66aa0886a02eb511c0ee35332e15428ac (diff) | |
download | bcm5719-llvm-b8427293df2b4cfa2cde30ef26db560d6b79e84e.tar.gz bcm5719-llvm-b8427293df2b4cfa2cde30ef26db560d6b79e84e.zip |
Last bit of P0006; mark it as complete
llvm-svn: 254290
Diffstat (limited to 'libcxx/test/std/utilities/time')
-rw-r--r-- | libcxx/test/std/utilities/time/time.traits/time.traits.is_fp/treat_as_floating_point.pass.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/test/std/utilities/time/time.traits/time.traits.is_fp/treat_as_floating_point.pass.cpp b/libcxx/test/std/utilities/time/time.traits/time.traits.is_fp/treat_as_floating_point.pass.cpp index c32350faa83..f9ddc87a7a1 100644 --- a/libcxx/test/std/utilities/time/time.traits/time.traits.is_fp/treat_as_floating_point.pass.cpp +++ b/libcxx/test/std/utilities/time/time.traits/time.traits.is_fp/treat_as_floating_point.pass.cpp @@ -20,6 +20,10 @@ 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> >), ""); +#endif } struct A {}; |