]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Remove owner_less<void> test that fails on gcc-6-branch
authorJonathan Wakely <jwakely@redhat.com>
Tue, 5 Sep 2017 10:30:54 +0000 (11:30 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 5 Sep 2017 10:30:54 +0000 (11:30 +0100)
* testsuite/20_util/owner_less/noexcept.cc: Remove owner_less<void>
tests.

From-SVN: r251708

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/20_util/owner_less/noexcept.cc

index 8a87b7b155a82b3f55ed3fd8156efe8be1b88f7d..d88a08f2452db18c26e65516766e057abb60f9dc 100644 (file)
@@ -1,3 +1,8 @@
+2017-09-05  Jonathan Wakely  <jwakely@redhat.com>
+
+       * testsuite/20_util/owner_less/noexcept.cc: Remove owner_less<void>
+       tests.
+
 2017-09-04  Jonathan Wakely  <jwakely@redhat.com>
 
        Backport from mainline
index 25c9afde8e15beb9869e3769d54494b5a6a5117e..fcf5d4f267995e95cbb676d59a4f9e2b43c61832 100644 (file)
@@ -29,12 +29,3 @@ const std::owner_less<std::weak_ptr<int>> owi;
 static_assert( noexcept(owi(wi, wi)), "" );
 static_assert( noexcept(owi(si, wi)), "" );
 static_assert( noexcept(owi(wi, si)), "" );
-const std::shared_ptr<long> sl;
-const std::weak_ptr<char> wc;
-const std::owner_less<void> ov;
-static_assert( noexcept(ov(si, si)), "" );
-static_assert( noexcept(ov(si, sl)), "" );
-static_assert( noexcept(ov(sl, si)), "" );
-static_assert( noexcept(ov(si, wc)), "" );
-static_assert( noexcept(ov(wc, si)), "" );
-static_assert( noexcept(ov(wc, wi)), "" );