PR libstdc++/82966 fix swapping of node handles
[official-gcc.git] / libstdc++-v3 / testsuite / 23_containers / set / 18604.cc
blobb395302a1763e77ac8e5095cd2bcb3e53abc4e1b
1 // 2005-05-09 Paolo Carlini <pcarlini@suse.de>
3 // Copyright (C) 2005-2018 Free Software Foundation, Inc.
4 //
5 // This file is part of the GNU ISO C++ Library. This library is free
6 // software; you can redistribute it and/or modify it under the
7 // terms of the GNU General Public License as published by the
8 // Free Software Foundation; either version 3, or (at your option)
9 // any later version.
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
16 // You should have received a copy of the GNU General Public License along
17 // with this library; see the file COPYING3. If not see
18 // <http://www.gnu.org/licenses/>.
20 // NB: This issue affected only debug-mode.
22 // { dg-do compile }
24 // libstdc++/18604
25 struct less;
26 struct allocator;
27 struct pair;
28 struct binary_function;
29 struct iterator;
30 struct iterator_traits;
31 struct bidirectional_iterator_tag;
32 struct forward_iterator_tag;
33 struct input_iterator_tag;
34 struct random_access_iterator_tag;
35 struct ios_base;
36 struct basic_string;
37 struct basic_istream;
38 struct basic_ostream;
39 struct char_traits;
41 #include <set>