aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMike Crowe <mac@mcrowe.com>2020-10-05 11:07:55 +0100
committerJonathan Wakely <jwakely@redhat.com>2020-10-05 11:09:03 +0100
commitd5243c46266f92f8e5373c3f314aa2abc15c9db4 (patch)
tree98b550b6e83154e22e87cd9ab517a6f886c69e01 /gcc
parentb98d3cc5666f36bf3cbeed7cd6a23483cc5e4eca (diff)
downloadgcc-d5243c46266f92f8e5373c3f314aa2abc15c9db4.zip
gcc-d5243c46266f92f8e5373c3f314aa2abc15c9db4.tar.gz
gcc-d5243c46266f92f8e5373c3f314aa2abc15c9db4.tar.bz2
libstdc++: Test C++11 implementation of std::chrono::__detail::ceil
Commit 53ad6b1979f4bd7121e977c4a44151b14d8a0147 split the implementation of std::chrono::__detail::ceil so that when compiling for C++17 and later std::chrono::ceil is used but when compiling for earlier versions a separate implementation is used to comply with C++11's limited constexpr rules. Let's run the equivalent of the existing std::chrono::ceil test cases on std::chrono::__detail::ceil too to make sure that it doesn't get broken. libstdc++-v3/ChangeLog: * testsuite/20_util/duration_cast/rounding_c++11.cc: Copy rounding.cc and alter to support compilation for C++11 and to test std::chrono::__detail::ceil.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions