Update concepts branch to revision 131834
[official-gcc.git] / libstdc++-v3 / testsuite / 17_intro / headers / all.cc
blob706e4cf0266d149d3cf4a3d53e41d7656969ec36
1 // { dg-do compile }
3 // Copyright (C) 2007 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 2, 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 COPYING. If not, write to the Free
18 // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
19 // USA.
21 // As a special exception, you may use this file as part of a free software
22 // library without restriction. Specifically, if other files instantiate
23 // templates or use macros or inline functions from this file, or you compile
24 // this file and link it with other files to produce an executable, this
25 // file does not by itself cause the resulting executable to be covered by
26 // the GNU General Public License. This exception does not however
27 // invalidate any other reasons why the executable file might be covered by
28 // the GNU General Public License.
30 // Make sure all the includes can be compiled with -Wc++0x-compat
31 // libstdc++/30571
33 // C
34 #include <cassert>
35 #include <cctype>
36 #include <cerrno>
37 #include <cfloat>
38 #include <ciso646>
39 #include <climits>
40 #include <clocale>
41 #include <cmath>
42 #include <csetjmp>
43 #include <csignal>
44 #include <cstdarg>
45 #include <cstddef>
46 #include <cstdio>
47 #include <cstdlib>
48 #include <cstring>
49 #include <ctime>
51 // C++
52 #include <algorithm>
53 #include <bitset>
54 #include <complex>
55 #include <deque>
56 #include <exception>
57 #include <fstream>
58 #include <functional>
59 #include <iomanip>
60 #include <ios>
61 #include <iosfwd>
62 #include <iostream>
63 #include <istream>
64 #include <iterator>
65 #include <limits>
66 #include <list>
67 #include <locale>
68 #include <map>
69 #include <memory>
70 #include <new>
71 #include <numeric>
72 #include <ostream>
73 #include <queue>
74 #include <set>
75 #include <sstream>
76 #include <stack>
77 #include <stdexcept>
78 #include <streambuf>
79 #include <string>
80 #include <typeinfo>
81 #include <utility>
82 #include <valarray>
83 #include <vector>
85 // TR1
86 #include <tr1/array>
87 #include <tr1/cctype>
88 #include <tr1/cfenv>
89 #include <tr1/cfloat>
90 #include <tr1/cinttypes>
91 #include <tr1/climits>
92 #include <tr1/cmath>
93 #include <tr1/complex>
94 #include <tr1/cstdarg>
95 #include <tr1/cstdbool>
96 #include <tr1/cstdint>
97 #include <tr1/cstdio>
98 #include <tr1/cstdlib>
99 #include <tr1/ctgmath>
100 #include <tr1/ctime>
101 #include <tr1/cwchar>
102 #include <tr1/cwctype>
103 #include <tr1/functional>
104 #include <tr1/random>
105 #include <tr1/tuple>
106 #include <tr1/unordered_map>
107 #include <tr1/unordered_set>
108 #include <tr1/utility>
110 // Extensions
111 #include <ext/algorithm>
112 #include <ext/array_allocator.h>
113 #include <ext/atomicity.h>
114 #include <ext/bitmap_allocator.h>
115 #if _GLIBCXX_HAVE_ICONV
116 #include <ext/codecvt_specializations.h>
117 #endif
118 #include <ext/concurrence.h>
119 #include <ext/debug_allocator.h>
120 #if _GLIBCXX_HAVE_ICONV
121 #include <ext/enc_filebuf.h>
122 #endif
123 #include <ext/functional>
124 #include <ext/iterator>
125 #include <ext/malloc_allocator.h>
126 #include <ext/memory>
127 #include <ext/mt_allocator.h>
128 #include <ext/new_allocator.h>
129 #include <ext/numeric>
130 #include <ext/pod_char_traits.h>
131 #include <ext/pool_allocator.h>
132 #include <ext/rb_tree>
133 #include <ext/rope>
134 #include <ext/slist>
135 #include <ext/stdio_filebuf.h>
136 #include <ext/stdio_sync_filebuf.h>
137 #include <ext/throw_allocator.h>
138 #include <ext/typelist.h>
139 #include <ext/type_traits.h>
140 #include <ext/vstring.h>
141 #include <ext/pb_ds/assoc_container.hpp>
142 #include <ext/pb_ds/priority_queue.hpp>
143 #include <ext/pb_ds/exception.hpp>
144 #include <ext/pb_ds/hash_policy.hpp>
145 #include <ext/pb_ds/list_update_policy.hpp>
146 #include <ext/pb_ds/tree_policy.hpp>
147 #include <ext/pb_ds/trie_policy.hpp>