summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/25_algorithms/headers/algorithm/algorithm_parallel_mode.cc
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2007-10-12 16:11:41 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2007-10-12 16:11:41 +0000
commitaadc318968d85743ea57b476bcf225be55d3c465 (patch)
treeea156b34326d2c3b1e655c2a719d1f092dce3ff7 /libstdc++-v3/testsuite/25_algorithms/headers/algorithm/algorithm_parallel_mode.cc
parent0f0b3ebb6bdafdec0dbc64f1d7d72a8cb770cfe6 (diff)
downloadgcc-aadc318968d85743ea57b476bcf225be55d3c465.tar.gz
2007-10-12 Benjamin Kosnik <bkoz@redhat.com>
* docs/doxygen/user.cfg.in: Scan tr1_impl/hashtable. * include/tr1_impl/hashtable: Correct comment. * include/ext/hash_map: Remove extraneous public markers. * include/ext/hash_set: Same. * testsuite/25_algorithms/headers/parallel_algorithm.cc: Move inside algorithm directory. * testsuite/25_algorithms/headers/algorithm_parallel_mode.cc: Same. * testsuite/25_algorithms/headers/parallel_algorithm_mixed1.cc: Same. * testsuite/25_algorithms/headers/parallel_algorithm_mixed2.cc: Same. * testsuite/25_algorithms/headers/algorithm/parallel_algorithm.cc: To this. * testsuite/25_algorithms/headers/algorithm/ algorithm_parallel_mode.cc: Same. * testsuite/25_algorithms/headers/algorithm/ parallel_algorithm_mixed1.cc: Same. * testsuite/25_algorithms/headers/algorithm/ parallel_algorithm_mixed2.cc: Same. * testsuite/21_strings/basic_string/requirements/ explicit_instantiation/debug.cc: Remove exception text. * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: Fix for debug mode testing. * testsuite/23_containers/vector/bool/capacity/29134.cc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129264 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite/25_algorithms/headers/algorithm/algorithm_parallel_mode.cc')
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/headers/algorithm/algorithm_parallel_mode.cc23
1 files changed, 23 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/25_algorithms/headers/algorithm/algorithm_parallel_mode.cc b/libstdc++-v3/testsuite/25_algorithms/headers/algorithm/algorithm_parallel_mode.cc
new file mode 100644
index 00000000000..c2e56c2bd35
--- /dev/null
+++ b/libstdc++-v3/testsuite/25_algorithms/headers/algorithm/algorithm_parallel_mode.cc
@@ -0,0 +1,23 @@
+// { dg-do compile }
+// { dg-require-parallel-mode "" }
+// { dg-options "-D_GLIBCXX_PARALLEL -fopenmp" { target *-*-* } }
+
+// Copyright (C) 2007 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
+// terms of the GNU General Public License as published by the
+// Free Software Foundation; either version 2, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License along
+// with this library; see the file COPYING. If not, write to the Free
+// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+// USA.
+
+#include <algorithm>