Fix tests for std::clamp
authorJonathan Wakely <jwakely@redhat.com>
Thu, 21 Sep 2017 09:59:55 +0000 (10:59 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 21 Sep 2017 09:59:55 +0000 (10:59 +0100)
commitf3f08c3f03f2cf096aaac5d4a24b729796e22a4b
treee537875641bb84916122c7a17b0feda401232fe6
parenta4f65ca8cb3847ff62185f535f191a4e1e46fedf
Fix tests for std::clamp

* testsuite/25_algorithms/clamp/1.cc: Fix order of arguments and
expected results when using predicate defining reverse order.
* testsuite/25_algorithms/clamp/constexpr.cc: Likewise.

From-SVN: r253051
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/25_algorithms/clamp/1.cc
libstdc++-v3/testsuite/25_algorithms/clamp/constexpr.cc