[testsuite] PR 53046
Paolo Carlini
paolo.carlini@oracle.com
Mon Apr 23 11:19:00 GMT 2012
Hi,
tested x86_64-linux, committed.
Paolo.
///////////////////
-------------- next part --------------
2012-04-23 Chris Jefferson <chris@bubblescope.net>
PR testsuite/53046
* testsuite/25_algorithms/stable_partition/mem_check.cc: Fix size
of array A.
* testsuite/25_algorithms/stable_sort/mem_check.cc: Likewise.
-------------- next part --------------
Index: testsuite/25_algorithms/stable_partition/mem_check.cc
===================================================================
--- testsuite/25_algorithms/stable_partition/mem_check.cc (revision 186692)
+++ testsuite/25_algorithms/stable_partition/mem_check.cc (working copy)
@@ -1,4 +1,4 @@
-// Copyright (C) 2009 Free Software Foundation, Inc.
+// Copyright (C) 2009, 2012 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@@ -31,7 +31,7 @@
typedef test_container<copy_tracker, random_access_iterator_wrapper> Container;
const int A[] = {10, 20, 1, 11, 2, 21, 28, 29, 12, 35, 15, 27, 6, 16, 7,
- 25, 17, 8, 23, 18, 9, 19, 24, 30, 13, 4, 14, 22, 26};
+ 25, 17, 8, 23, 18, 9, 19, 24, 30, 13, 4, 14, 22, 26, 0};
bool even(const copy_tracker& ct)
{ return ct.id() < 19; }
Index: testsuite/25_algorithms/stable_sort/mem_check.cc
===================================================================
--- testsuite/25_algorithms/stable_sort/mem_check.cc (revision 186692)
+++ testsuite/25_algorithms/stable_sort/mem_check.cc (working copy)
@@ -1,4 +1,4 @@
-// Copyright (C) 2009 Free Software Foundation, Inc.
+// Copyright (C) 2009, 2012 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@@ -31,7 +31,7 @@
typedef test_container<copy_tracker, random_access_iterator_wrapper> Container;
const int A[] = {10, 20, 1, 11, 2, 21, 28, 29, 12, 35, 15, 27, 6, 16, 7,
- 25, 17, 8, 23, 18, 9, 19, 24, 30, 13, 4, 14, 22, 26};
+ 25, 17, 8, 23, 18, 9, 19, 24, 30, 13, 4, 14, 22, 26, 0};
void
test_mem1(int throw_count)
More information about the Libstdc++
mailing list