+2001-09-04 Scott Johnston <scott@accom.com>
+ Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
+
+ * include/backward/iterator.h: Include <bits/std_iterator.h>,
+ remove reverse_bidirectional_iterator.
+ * testsuite/backward: New directory.
+ * testsuite/backward/header_iterator_h.cc: New file.
+
2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
* include/c_std/bits/std_c*.h: Don't use include_next.
#include "function.h"
#include <stddef.h>
#include "iostream.h"
-#include "iterator.h"
+#include <bits/std_iterator.h>
#include <bits/stl_construct.h>
#include <bits/stl_raw_storage_iter.h>
using std::back_inserter;
using std::reverse_iterator;
-using std::reverse_bidirectional_iterator;
using std::istream_iterator;
using std::ostream_iterator;
inline void
destroy(_ForwardIterator __first, _ForwardIterator __last)
{ std::_Destroy(__first, __last); }
-}
+
// Names from stl_raw_storage_iter.h
using std::raw_storage_iterator;
--- /dev/null
+// 2001-09-04 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
+
+// Copyright (C) 2001 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, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+// USA.
+
+// backward header iterator.h
+
+#include <iterator.h>
+#include <testsuite_hooks.h>
+
+// { dg-excess-errors "" }
+
+int main(void)
+{
+ return 0;
+}