OSDN Git Service

2010-11-28 Jonathan Wakely <jwakely.gcc@gmail.com>
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 28 Nov 2010 01:32:57 +0000 (01:32 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 28 Nov 2010 01:32:57 +0000 (01:32 +0000)
PR libstdc++/46689
* testsuite/20_util/shared_ptr/comparison/cmp.cc: Remove tests for
invalid comparisons.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167217 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/20_util/shared_ptr/comparison/cmp.cc

index 1c0965a..601fd40 100644 (file)
@@ -1,3 +1,9 @@
+2010-11-28  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR libstdc++/46689
+       * testsuite/20_util/shared_ptr/comparison/cmp.cc: Remove tests for
+       invalid comparisons.
+
 2010-11-27  Jonathan Wakely  <jwakely.gcc@gmail.com>
 
        * include/bits/shared_ptr_base.h (operator>, operator>=, operator<=):
index 9991fa7..ba82807 100644 (file)
@@ -79,26 +79,10 @@ test02()
   return 0;
 }
 
-int
-test03()
-{
-  bool test __attribute__((unused)) = true;
-
-  std::shared_ptr<A> p1;
-
-  // check other operators are defined
-  VERIFY( p1 <= p1 );
-  VERIFY( p1 >= p1 );
-  VERIFY( !(p1 > p1) );
-
-  return 0;
-}
-
 int 
 main()
 {
   test01();
   test02();
-  test03();
   return 0;
 }