erase_after1_neg.cc: Move to this.
authorFrançois Dumont <francois.cppdevs@free.fr>
Sun, 16 Jan 2011 10:35:28 +0000 (11:35 +0100)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Sun, 16 Jan 2011 10:35:28 +0000 (10:35 +0000)
2011-01-16  François Dumont  <francois.cppdevs@free.fr>

        * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
        to this. Use _neg suffix.
        * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
        this.
        * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
        Same.
        * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
        * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
        Same.
        * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
        * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
        Same.
        * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
        * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
        Same.
        * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
        * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
        Same.
        * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
        * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
        Same.
        * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
        * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
        Same.
        * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
        * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
        Same.
        * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
        * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
        Same.
        * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
        * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
        Same.
        * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
        * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
        Same.
        * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
        * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
        Same.
        * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
        * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
        Same.
        * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
        * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
        Same.
        * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
        * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
        Same.
        * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.

From-SVN: r168850

33 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after1.cc [deleted file]
libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after1_neg.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after2.cc [deleted file]
libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after2_neg.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after3.cc [deleted file]
libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after3_neg.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after4.cc [deleted file]
libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after4_neg.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after5.cc [deleted file]
libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after5_neg.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after6.cc [deleted file]
libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after6_neg.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after7.cc [deleted file]
libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after7_neg.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after8.cc [deleted file]
libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after8_neg.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after9.cc [deleted file]
libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after9_neg.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after1.cc [deleted file]
libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after1_neg.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after2.cc [deleted file]
libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after2_neg.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after3.cc [deleted file]
libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after3_neg.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after1.cc [deleted file]
libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after1_neg.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after2.cc [deleted file]
libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after2_neg.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after3.cc [deleted file]
libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after3_neg.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after4.cc [deleted file]
libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after4_neg.cc [new file with mode: 0644]

index 57295dfd86fa0f4e9bb146796b12864eb0c680e6..631bcb9014d89c8893bf42a9d3b4a2ad4122342d 100644 (file)
@@ -1,3 +1,55 @@
+2011-01-16  François Dumont  <francois.cppdevs@free.fr>
+
+       * testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move
+       to this. Use _neg suffix.
+       * testsuite/23_containers/forward_list/debug/erase_after1.cc: ...from
+       this.
+       * testsuite/23_containers/forward_list/debug/erase_after2_neg.cc:
+       Same.
+       * testsuite/23_containers/forward_list/debug/erase_after2.cc: Same.
+       * testsuite/23_containers/forward_list/debug/erase_after3_neg.cc:
+       Same.
+       * testsuite/23_containers/forward_list/debug/erase_after3.cc: Same.
+       * testsuite/23_containers/forward_list/debug/erase_after4_neg.cc:
+       Same.
+       * testsuite/23_containers/forward_list/debug/erase_after4.cc: Same.
+       * testsuite/23_containers/forward_list/debug/erase_after5_neg.cc:
+       Same.
+       * testsuite/23_containers/forward_list/debug/erase_after5.cc: Same.
+       * testsuite/23_containers/forward_list/debug/erase_after6_neg.cc:
+       Same.
+       * testsuite/23_containers/forward_list/debug/erase_after6.cc: Same.
+       * testsuite/23_containers/forward_list/debug/erase_after7_neg.cc:
+       Same.
+       * testsuite/23_containers/forward_list/debug/erase_after7.cc: Same.
+       * testsuite/23_containers/forward_list/debug/erase_after8_neg.cc:
+       Same.
+       * testsuite/23_containers/forward_list/debug/erase_after8.cc: Same.
+       * testsuite/23_containers/forward_list/debug/erase_after9_neg.cc:
+       Same.
+       * testsuite/23_containers/forward_list/debug/erase_after9.cc: Same.
+       * testsuite/23_containers/forward_list/debug/insert_after1_neg.cc:
+       Same.
+       * testsuite/23_containers/forward_list/debug/insert_after1.cc: Same.
+       * testsuite/23_containers/forward_list/debug/insert_after2_neg.cc:
+       Same.
+       * testsuite/23_containers/forward_list/debug/insert_after2.cc: Same.
+       * testsuite/23_containers/forward_list/debug/insert_after3_neg.cc:
+       Same.
+       * testsuite/23_containers/forward_list/debug/insert_after3.cc: Same.
+       * testsuite/23_containers/forward_list/debug/splice_after1_neg.cc:
+       Same.
+       * testsuite/23_containers/forward_list/debug/splice_after1.cc: Same.
+       * testsuite/23_containers/forward_list/debug/splice_after2_neg.cc:
+       Same.
+       * testsuite/23_containers/forward_list/debug/splice_after2.cc: Same.
+       * testsuite/23_containers/forward_list/debug/splice_after3_neg.cc:
+       Same.
+       * testsuite/23_containers/forward_list/debug/splice_after3.cc: Same.
+       * testsuite/23_containers/forward_list/debug/splice_after4_neg.cc:
+       Same.
+       * testsuite/23_containers/forward_list/debug/splice_after4.cc: Same.
+
 2011-01-14  Benjamin Kosnik  <bkoz@redhat.com>
 
        PR libstdc++/36104
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after1.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after1.cc
deleted file mode 100644 (file)
index f2cd593..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-// { dg-options "-std=gnu++0x" }
-// { dg-require-debug-mode "" }
-// { dg-do run { xfail *-*-* } }
-
-// Copyright (C) 2010 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 3, or (at your option)
-// any later version.
-
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
-// <http://www.gnu.org/licenses/>.
-
-#include <forward_list>
-#include <testsuite_hooks.h>
-
-void
-test01()
-{
-  bool test __attribute__((unused)) = true;
-
-  std::forward_list<int> fl1{1, 2, 3};
-
-  auto it = fl1.begin();
-  VERIFY( *it == 1 );
-
-  fl1.erase_after(fl1.before_begin());
-
-  VERIFY( *it == 1 );
-}
-
-int
-main()
-{
-  test01();
-  return 0;
-}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after1_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after1_neg.cc
new file mode 100644 (file)
index 0000000..f2cd593
--- /dev/null
@@ -0,0 +1,45 @@
+// { dg-options "-std=gnu++0x" }
+// { dg-require-debug-mode "" }
+// { dg-do run { xfail *-*-* } }
+
+// Copyright (C) 2010 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 3, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
+// <http://www.gnu.org/licenses/>.
+
+#include <forward_list>
+#include <testsuite_hooks.h>
+
+void
+test01()
+{
+  bool test __attribute__((unused)) = true;
+
+  std::forward_list<int> fl1{1, 2, 3};
+
+  auto it = fl1.begin();
+  VERIFY( *it == 1 );
+
+  fl1.erase_after(fl1.before_begin());
+
+  VERIFY( *it == 1 );
+}
+
+int
+main()
+{
+  test01();
+  return 0;
+}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after2.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after2.cc
deleted file mode 100644 (file)
index 6e24335..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// { dg-options "-std=gnu++0x" }
-// { dg-require-debug-mode "" }
-// { dg-do run { xfail *-*-* } }
-
-// Copyright (C) 2010 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 3, or (at your option)
-// any later version.
-
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
-// <http://www.gnu.org/licenses/>.
-
-#include <forward_list>
-
-void
-test01()
-{
-  std::forward_list<int> fl1{1, 2, 3};
-  fl1.erase_after(fl1.end());
-}
-
-int
-main()
-{
-  test01();
-  return 0;
-}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after2_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after2_neg.cc
new file mode 100644 (file)
index 0000000..6e24335
--- /dev/null
@@ -0,0 +1,36 @@
+// { dg-options "-std=gnu++0x" }
+// { dg-require-debug-mode "" }
+// { dg-do run { xfail *-*-* } }
+
+// Copyright (C) 2010 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 3, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
+// <http://www.gnu.org/licenses/>.
+
+#include <forward_list>
+
+void
+test01()
+{
+  std::forward_list<int> fl1{1, 2, 3};
+  fl1.erase_after(fl1.end());
+}
+
+int
+main()
+{
+  test01();
+  return 0;
+}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after3.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after3.cc
deleted file mode 100644 (file)
index 70a0a34..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// { dg-options "-std=gnu++0x" }
-// { dg-require-debug-mode "" }
-// { dg-do run { xfail *-*-* } }
-
-// Copyright (C) 2010 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 3, or (at your option)
-// any later version.
-
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
-// <http://www.gnu.org/licenses/>.
-
-#include <forward_list>
-
-void
-test01()
-{
-  std::forward_list<int> fl1{1};
-  fl1.erase_after(fl1.begin());
-}
-
-int
-main()
-{
-  test01();
-  return 0;
-}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after3_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after3_neg.cc
new file mode 100644 (file)
index 0000000..70a0a34
--- /dev/null
@@ -0,0 +1,36 @@
+// { dg-options "-std=gnu++0x" }
+// { dg-require-debug-mode "" }
+// { dg-do run { xfail *-*-* } }
+
+// Copyright (C) 2010 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 3, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
+// <http://www.gnu.org/licenses/>.
+
+#include <forward_list>
+
+void
+test01()
+{
+  std::forward_list<int> fl1{1};
+  fl1.erase_after(fl1.begin());
+}
+
+int
+main()
+{
+  test01();
+  return 0;
+}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after4.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after4.cc
deleted file mode 100644 (file)
index 9e4b3d4..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-// { dg-options "-std=gnu++0x" }
-// { dg-require-debug-mode "" }
-// { dg-do run { xfail *-*-* } }
-
-// Copyright (C) 2010 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 3, or (at your option)
-// any later version.
-
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
-// <http://www.gnu.org/licenses/>.
-
-#include <forward_list>
-
-void
-test01()
-{
-  std::forward_list<int> fl1{1, 2, 3};
-  std::forward_list<int> fl2{1, 2, 3};
-
-  fl1.erase_after(fl1.before_begin(), fl2.begin());
-}
-
-int
-main()
-{
-  test01();
-  return 0;
-}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after4_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after4_neg.cc
new file mode 100644 (file)
index 0000000..9e4b3d4
--- /dev/null
@@ -0,0 +1,38 @@
+// { dg-options "-std=gnu++0x" }
+// { dg-require-debug-mode "" }
+// { dg-do run { xfail *-*-* } }
+
+// Copyright (C) 2010 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 3, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
+// <http://www.gnu.org/licenses/>.
+
+#include <forward_list>
+
+void
+test01()
+{
+  std::forward_list<int> fl1{1, 2, 3};
+  std::forward_list<int> fl2{1, 2, 3};
+
+  fl1.erase_after(fl1.before_begin(), fl2.begin());
+}
+
+int
+main()
+{
+  test01();
+  return 0;
+}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after5.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after5.cc
deleted file mode 100644 (file)
index 6aabbea..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-// { dg-options "-std=gnu++0x" }
-// { dg-require-debug-mode "" }
-// { dg-do run { xfail *-*-* } }
-
-// Copyright (C) 2010 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 3, or (at your option)
-// any later version.
-
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
-// <http://www.gnu.org/licenses/>.
-
-#include <forward_list>
-
-void
-test01()
-{
-  std::forward_list<int> fl1{1, 2, 3};
-  std::forward_list<int> fl2{1, 2, 3};
-
-  fl1.erase_after(fl2.before_begin(), fl2.begin());
-}
-
-int
-main()
-{
-  test01();
-  return 0;
-}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after5_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after5_neg.cc
new file mode 100644 (file)
index 0000000..6aabbea
--- /dev/null
@@ -0,0 +1,38 @@
+// { dg-options "-std=gnu++0x" }
+// { dg-require-debug-mode "" }
+// { dg-do run { xfail *-*-* } }
+
+// Copyright (C) 2010 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 3, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
+// <http://www.gnu.org/licenses/>.
+
+#include <forward_list>
+
+void
+test01()
+{
+  std::forward_list<int> fl1{1, 2, 3};
+  std::forward_list<int> fl2{1, 2, 3};
+
+  fl1.erase_after(fl2.before_begin(), fl2.begin());
+}
+
+int
+main()
+{
+  test01();
+  return 0;
+}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after6.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after6.cc
deleted file mode 100644 (file)
index 29c418a..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-// { dg-options "-std=gnu++0x" }
-// { dg-require-debug-mode "" }
-// { dg-do run { xfail *-*-* } }
-
-// Copyright (C) 2010 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 3, or (at your option)
-// any later version.
-
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
-// <http://www.gnu.org/licenses/>.
-
-#include <forward_list>
-
-void
-test01()
-{
-  std::forward_list<int> fl1{1, 2, 3};
-
-  fl1.erase_after(fl1.before_begin(), fl1.before_begin());
-}
-
-int
-main()
-{
-  test01();
-  return 0;
-}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after6_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after6_neg.cc
new file mode 100644 (file)
index 0000000..29c418a
--- /dev/null
@@ -0,0 +1,37 @@
+// { dg-options "-std=gnu++0x" }
+// { dg-require-debug-mode "" }
+// { dg-do run { xfail *-*-* } }
+
+// Copyright (C) 2010 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 3, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
+// <http://www.gnu.org/licenses/>.
+
+#include <forward_list>
+
+void
+test01()
+{
+  std::forward_list<int> fl1{1, 2, 3};
+
+  fl1.erase_after(fl1.before_begin(), fl1.before_begin());
+}
+
+int
+main()
+{
+  test01();
+  return 0;
+}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after7.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after7.cc
deleted file mode 100644 (file)
index 9390827..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-// { dg-options "-std=gnu++0x" }
-// { dg-require-debug-mode "" }
-// { dg-do run { xfail *-*-* } }
-
-// Copyright (C) 2010 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 3, or (at your option)
-// any later version.
-
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
-// <http://www.gnu.org/licenses/>.
-
-#include <forward_list>
-
-void
-test01()
-{
-  std::forward_list<int> fl1{1, 2, 3};
-
-  fl1.erase_after(fl1.end(), fl1.begin());
-}
-
-int
-main()
-{
-  test01();
-  return 0;
-}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after7_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after7_neg.cc
new file mode 100644 (file)
index 0000000..9390827
--- /dev/null
@@ -0,0 +1,37 @@
+// { dg-options "-std=gnu++0x" }
+// { dg-require-debug-mode "" }
+// { dg-do run { xfail *-*-* } }
+
+// Copyright (C) 2010 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 3, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
+// <http://www.gnu.org/licenses/>.
+
+#include <forward_list>
+
+void
+test01()
+{
+  std::forward_list<int> fl1{1, 2, 3};
+
+  fl1.erase_after(fl1.end(), fl1.begin());
+}
+
+int
+main()
+{
+  test01();
+  return 0;
+}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after8.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after8.cc
deleted file mode 100644 (file)
index 77dcb75..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-// { dg-options "-std=gnu++0x" }
-// { dg-require-debug-mode "" }
-// { dg-do run { xfail *-*-* } }
-
-// Copyright (C) 2010 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 3, or (at your option)
-// any later version.
-
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
-// <http://www.gnu.org/licenses/>.
-
-#include <forward_list>
-
-void
-test01()
-{
-  std::forward_list<int> fl1{1, 2, 3};
-
-  fl1.erase_after(fl1.begin(), fl1.before_begin());
-}
-
-int
-main()
-{
-  test01();
-  return 0;
-}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after8_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after8_neg.cc
new file mode 100644 (file)
index 0000000..77dcb75
--- /dev/null
@@ -0,0 +1,37 @@
+// { dg-options "-std=gnu++0x" }
+// { dg-require-debug-mode "" }
+// { dg-do run { xfail *-*-* } }
+
+// Copyright (C) 2010 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 3, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
+// <http://www.gnu.org/licenses/>.
+
+#include <forward_list>
+
+void
+test01()
+{
+  std::forward_list<int> fl1{1, 2, 3};
+
+  fl1.erase_after(fl1.begin(), fl1.before_begin());
+}
+
+int
+main()
+{
+  test01();
+  return 0;
+}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after9.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after9.cc
deleted file mode 100644 (file)
index 42fe202..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-// { dg-options "-std=gnu++0x" }
-// { dg-require-debug-mode "" }
-// { dg-do run { xfail *-*-* } }
-
-// Copyright (C) 2010 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 3, or (at your option)
-// any later version.
-
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
-// <http://www.gnu.org/licenses/>.
-
-#include <forward_list>
-
-void
-test01()
-{
-  std::forward_list<int> fl1{1, 2, 3};
-
-  auto it = fl1.begin();
-  ++it;
-  fl1.erase_after(it, fl1.begin());
-}
-
-int
-main()
-{
-  test01();
-  return 0;
-}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after9_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after9_neg.cc
new file mode 100644 (file)
index 0000000..42fe202
--- /dev/null
@@ -0,0 +1,39 @@
+// { dg-options "-std=gnu++0x" }
+// { dg-require-debug-mode "" }
+// { dg-do run { xfail *-*-* } }
+
+// Copyright (C) 2010 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 3, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
+// <http://www.gnu.org/licenses/>.
+
+#include <forward_list>
+
+void
+test01()
+{
+  std::forward_list<int> fl1{1, 2, 3};
+
+  auto it = fl1.begin();
+  ++it;
+  fl1.erase_after(it, fl1.begin());
+}
+
+int
+main()
+{
+  test01();
+  return 0;
+}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after1.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after1.cc
deleted file mode 100644 (file)
index 08d49a5..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-// { dg-options "-std=gnu++0x" }
-// { dg-require-debug-mode "" }
-// { dg-do run { xfail *-*-* } }
-
-// Copyright (C) 2010 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 3, or (at your option)
-// any later version.
-
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
-// <http://www.gnu.org/licenses/>.
-
-#include <forward_list>
-
-void
-test01()
-{
-  std::forward_list<int> fl1{1, 2, 3};
-  std::forward_list<int> fl2{1, 2, 3};
-
-  fl1.insert_after(fl1.before_begin(), fl2.before_begin(), fl2.end());
-}
-
-int
-main()
-{
-  test01();
-  return 0;
-}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after1_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after1_neg.cc
new file mode 100644 (file)
index 0000000..08d49a5
--- /dev/null
@@ -0,0 +1,38 @@
+// { dg-options "-std=gnu++0x" }
+// { dg-require-debug-mode "" }
+// { dg-do run { xfail *-*-* } }
+
+// Copyright (C) 2010 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 3, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
+// <http://www.gnu.org/licenses/>.
+
+#include <forward_list>
+
+void
+test01()
+{
+  std::forward_list<int> fl1{1, 2, 3};
+  std::forward_list<int> fl2{1, 2, 3};
+
+  fl1.insert_after(fl1.before_begin(), fl2.before_begin(), fl2.end());
+}
+
+int
+main()
+{
+  test01();
+  return 0;
+}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after2.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after2.cc
deleted file mode 100644 (file)
index db9fd5e..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-// { dg-options "-std=gnu++0x" }
-// { dg-require-debug-mode "" }
-// { dg-do run { xfail *-*-* } }
-
-// Copyright (C) 2010 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 3, or (at your option)
-// any later version.
-
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
-// <http://www.gnu.org/licenses/>.
-
-#include <forward_list>
-
-void
-test01()
-{
-  std::forward_list<int> fl1{1, 2, 3};
-  std::forward_list<int> fl2{0};
-
-  fl1.insert_after(fl1.before_begin(), fl2.begin(), fl2.before_begin());
-}
-
-int
-main()
-{
-  test01();
-  return 0;
-}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after2_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after2_neg.cc
new file mode 100644 (file)
index 0000000..db9fd5e
--- /dev/null
@@ -0,0 +1,38 @@
+// { dg-options "-std=gnu++0x" }
+// { dg-require-debug-mode "" }
+// { dg-do run { xfail *-*-* } }
+
+// Copyright (C) 2010 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 3, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
+// <http://www.gnu.org/licenses/>.
+
+#include <forward_list>
+
+void
+test01()
+{
+  std::forward_list<int> fl1{1, 2, 3};
+  std::forward_list<int> fl2{0};
+
+  fl1.insert_after(fl1.before_begin(), fl2.begin(), fl2.before_begin());
+}
+
+int
+main()
+{
+  test01();
+  return 0;
+}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after3.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after3.cc
deleted file mode 100644 (file)
index 4ad698f..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-// { dg-options "-std=gnu++0x" }
-// { dg-require-debug-mode "" }
-// { dg-do run { xfail *-*-* } }
-
-// Copyright (C) 2010 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 3, or (at your option)
-// any later version.
-
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
-// <http://www.gnu.org/licenses/>.
-
-#include <forward_list>
-
-void
-test01()
-{
-  std::forward_list<int> fl1{1, 2, 3};
-
-  fl1.insert_after(fl1.end(), 4);
-}
-
-int
-main()
-{
-  test01();
-  return 0;
-}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after3_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/insert_after3_neg.cc
new file mode 100644 (file)
index 0000000..4ad698f
--- /dev/null
@@ -0,0 +1,37 @@
+// { dg-options "-std=gnu++0x" }
+// { dg-require-debug-mode "" }
+// { dg-do run { xfail *-*-* } }
+
+// Copyright (C) 2010 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 3, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
+// <http://www.gnu.org/licenses/>.
+
+#include <forward_list>
+
+void
+test01()
+{
+  std::forward_list<int> fl1{1, 2, 3};
+
+  fl1.insert_after(fl1.end(), 4);
+}
+
+int
+main()
+{
+  test01();
+  return 0;
+}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after1.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after1.cc
deleted file mode 100644 (file)
index 3ee7f68..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// { dg-options "-std=gnu++0x" }
-// { dg-require-debug-mode "" }
-// { dg-do run { xfail *-*-* } }
-
-// Copyright (C) 2010 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 3, or (at your option)
-// any later version.
-
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
-// <http://www.gnu.org/licenses/>.
-
-#include <forward_list>
-
-void
-test01()
-{
-  std::forward_list<int> fl1{1, 2, 3};
-  fl1.splice_after(fl1.begin(), std::move(fl1));
-}
-
-int
-main()
-{
-  test01();
-  return 0;
-}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after1_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after1_neg.cc
new file mode 100644 (file)
index 0000000..3ee7f68
--- /dev/null
@@ -0,0 +1,36 @@
+// { dg-options "-std=gnu++0x" }
+// { dg-require-debug-mode "" }
+// { dg-do run { xfail *-*-* } }
+
+// Copyright (C) 2010 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 3, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
+// <http://www.gnu.org/licenses/>.
+
+#include <forward_list>
+
+void
+test01()
+{
+  std::forward_list<int> fl1{1, 2, 3};
+  fl1.splice_after(fl1.begin(), std::move(fl1));
+}
+
+int
+main()
+{
+  test01();
+  return 0;
+}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after2.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after2.cc
deleted file mode 100644 (file)
index 6a7fcfb..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-// { dg-options "-std=gnu++0x" }
-// { dg-require-debug-mode "" }
-// { dg-do run { xfail *-*-* } }
-
-// Copyright (C) 2010 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 3, or (at your option)
-// any later version.
-
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
-// <http://www.gnu.org/licenses/>.
-
-#include <forward_list>
-
-void
-test01()
-{
-  std::forward_list<int> fl1{1, 2, 3};
-  std::forward_list<int> fl2{1, 2, 3};
-
-  fl1.splice_after(fl1.before_begin(), std::move(fl2), fl1.begin());
-}
-
-int
-main()
-{
-  test01();
-  return 0;
-}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after2_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after2_neg.cc
new file mode 100644 (file)
index 0000000..6a7fcfb
--- /dev/null
@@ -0,0 +1,38 @@
+// { dg-options "-std=gnu++0x" }
+// { dg-require-debug-mode "" }
+// { dg-do run { xfail *-*-* } }
+
+// Copyright (C) 2010 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 3, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
+// <http://www.gnu.org/licenses/>.
+
+#include <forward_list>
+
+void
+test01()
+{
+  std::forward_list<int> fl1{1, 2, 3};
+  std::forward_list<int> fl2{1, 2, 3};
+
+  fl1.splice_after(fl1.before_begin(), std::move(fl2), fl1.begin());
+}
+
+int
+main()
+{
+  test01();
+  return 0;
+}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after3.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after3.cc
deleted file mode 100644 (file)
index 55e50dc..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-// { dg-options "-std=gnu++0x" }
-// { dg-require-debug-mode "" }
-// { dg-do run { xfail *-*-* } }
-
-// Copyright (C) 2010 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 3, or (at your option)
-// any later version.
-
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
-// <http://www.gnu.org/licenses/>.
-
-#include <forward_list>
-
-void
-test01()
-{
-  std::forward_list<int> fl1{1, 2, 3};
-  std::forward_list<int> fl2{1, 2, 3};
-
-  fl1.splice_after(fl1.before_begin(), std::move(fl2), fl2.end());
-}
-
-int
-main()
-{
-  test01();
-  return 0;
-}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after3_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after3_neg.cc
new file mode 100644 (file)
index 0000000..55e50dc
--- /dev/null
@@ -0,0 +1,38 @@
+// { dg-options "-std=gnu++0x" }
+// { dg-require-debug-mode "" }
+// { dg-do run { xfail *-*-* } }
+
+// Copyright (C) 2010 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 3, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
+// <http://www.gnu.org/licenses/>.
+
+#include <forward_list>
+
+void
+test01()
+{
+  std::forward_list<int> fl1{1, 2, 3};
+  std::forward_list<int> fl2{1, 2, 3};
+
+  fl1.splice_after(fl1.before_begin(), std::move(fl2), fl2.end());
+}
+
+int
+main()
+{
+  test01();
+  return 0;
+}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after4.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after4.cc
deleted file mode 100644 (file)
index 4c16190..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-// { dg-options "-std=gnu++0x" }
-// { dg-require-debug-mode "" }
-// { dg-do run { xfail *-*-* } }
-
-// Copyright (C) 2010 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 3, or (at your option)
-// any later version.
-
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
-// <http://www.gnu.org/licenses/>.
-
-#include <forward_list>
-
-void
-test01()
-{
-  std::forward_list<int> fl1{1, 2, 3};
-  std::forward_list<int> fl2{1, 2, 3};
-
-  fl1.splice_after(fl1.before_begin(),
-                  std::move(fl2), ++(++fl2.begin()), ++fl2.begin());
-}
-
-int
-main()
-{
-  test01();
-  return 0;
-}
diff --git a/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after4_neg.cc b/libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after4_neg.cc
new file mode 100644 (file)
index 0000000..4c16190
--- /dev/null
@@ -0,0 +1,39 @@
+// { dg-options "-std=gnu++0x" }
+// { dg-require-debug-mode "" }
+// { dg-do run { xfail *-*-* } }
+
+// Copyright (C) 2010 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 3, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without Pred 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 COPYING3.  If not see
+// <http://www.gnu.org/licenses/>.
+
+#include <forward_list>
+
+void
+test01()
+{
+  std::forward_list<int> fl1{1, 2, 3};
+  std::forward_list<int> fl2{1, 2, 3};
+
+  fl1.splice_after(fl1.before_begin(),
+                  std::move(fl2), ++(++fl2.begin()), ++fl2.begin());
+}
+
+int
+main()
+{
+  test01();
+  return 0;
+}