From 68f378af297e177c4eb7cf88d65b91e00cea2990 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Sun, 28 Nov 2010 01:32:57 +0000 Subject: [PATCH] re PR libstdc++/46689 (FAIL: 20_util/shared_ptr/comparison/cmp.cc) 2010-11-28 Jonathan Wakely PR libstdc++/46689 * testsuite/20_util/shared_ptr/comparison/cmp.cc: Remove tests for invalid comparisons. From-SVN: r167217 --- libstdc++-v3/ChangeLog | 6 ++++++ .../20_util/shared_ptr/comparison/cmp.cc | 16 ---------------- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 1c0965a18cc..601fd40e2cd 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2010-11-28 Jonathan Wakely + + PR libstdc++/46689 + * testsuite/20_util/shared_ptr/comparison/cmp.cc: Remove tests for + invalid comparisons. + 2010-11-27 Jonathan Wakely * include/bits/shared_ptr_base.h (operator>, operator>=, operator<=): diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/comparison/cmp.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/comparison/cmp.cc index 9991fa761bc..ba828071603 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/comparison/cmp.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/comparison/cmp.cc @@ -79,26 +79,10 @@ test02() return 0; } -int -test03() -{ - bool test __attribute__((unused)) = true; - - std::shared_ptr p1; - - // check other operators are defined - VERIFY( p1 <= p1 ); - VERIFY( p1 >= p1 ); - VERIFY( !(p1 > p1) ); - - return 0; -} - int main() { test01(); test02(); - test03(); return 0; } -- 2.30.2