re PR libstdc++/46689 (FAIL: 20_util/shared_ptr/comparison/cmp.cc)
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. From-SVN: r167217
This commit is contained in:
parent
ad97acdf8f
commit
68f378af29
2 changed files with 6 additions and 16 deletions
|
@ -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<=):
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue