Merge from trunk @ 138209
[official-gcc.git] / libstdc++-v3 / testsuite / 17_intro / headers / c++200x / all_multiple_inclusion.cc
blobf88edc8268a2fa822bf9f51127262c5a0082c652
1 // { dg-options "-std=gnu++0x" }
2 // { dg-do compile }
4 // Copyright (C) 2007, 2008 Free Software Foundation, Inc.
5 //
6 // This file is part of the GNU ISO C++ Library. This library is free
7 // software; you can redistribute it and/or modify it under the
8 // terms of the GNU General Public License as published by the
9 // Free Software Foundation; either version 2, or (at your option)
10 // any later version.
12 // This library is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
17 // You should have received a copy of the GNU General Public License along
18 // with this library; see the file COPYING. If not, write to the Free
19 // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
20 // USA.
22 // 17.4.1.2 Headers
24 // "C" headers
25 #include <cassert>
26 #include <ccomplex>
27 #include <cctype>
28 #include <cerrno>
29 #include <cfenv>
30 #include <cfloat>
31 #include <cinttypes>
32 #include <ciso646>
33 #include <climits>
34 #include <clocale>
35 #include <cmath>
36 #include <csetjmp>
37 #include <csignal>
38 #include <cstdarg>
39 #include <cstdbool>
40 #include <cstddef>
41 #include <cstdint>
42 #include <cstdio>
43 #include <cstdlib>
44 #include <cstring>
45 #include <ctgmath>
46 #include <ctime>
47 #include <cwchar>
48 #include <cwctype>
50 // "C" compatibility headers
51 #include <assert.h>
52 #ifdef _GLIBCXX_HAVE_COMPLEX_H
53 #include <complex.h>
54 #endif
55 #include <ctype.h>
56 #include <errno.h>
57 #ifdef _GLIBCXX_HAVE_FENV_H
58 #include <fenv.h>
59 #endif
60 #include <float.h>
61 #ifdef _GLIBCXX_HAVE_INTTYPES_H
62 #include <inttypes.h>
63 #endif
64 #include <iso646.h>
65 #include <limits.h>
66 #include <locale.h>
67 #include <math.h>
68 #include <setjmp.h>
69 #include <signal.h>
70 #include <stdarg.h>
71 #ifdef _GLIBCXX_HAVE_STDBOOL_H
72 #include <stdbool.h>
73 #endif
74 #include <stddef.h>
75 #ifdef _GLIBCXX_HAVE_STDINT_H
76 #include <stdint.h>
77 #endif
78 #include <stdio.h>
79 #include <stdlib.h>
80 #include <string.h>
81 #ifdef _GLIBCXX_HAVE_TGMATH_H
82 #include <tgmath.h>
83 #endif
84 #include <time.h>
85 #ifdef _GLIBCXX_HAVE_WCHAR_H
86 #include <wchar.h>
87 #endif
88 #ifdef _GLIBCXX_HAVE_WCTYPE_H
89 #include <wctype.h>
90 #endif
92 // "C++" headers
93 #include <algorithm>
94 #include <array>
95 #include <bitset>
96 #include <chrono>
97 #include <complex>
98 #include <deque>
99 #include <exception>
100 #include <fstream>
101 #include <functional>
102 #include <iomanip>
103 #include <ios>
104 #include <iosfwd>
105 #include <iostream>
106 #include <istream>
107 #include <iterator>
108 #include <limits>
109 #include <list>
110 #include <locale>
111 #include <map>
112 #include <memory>
113 #include <new>
114 #include <numeric>
115 #include <ostream>
116 #include <queue>
117 #include <random>
118 #include <ratio>
119 #include <regex>
120 #include <set>
121 #include <sstream>
122 #include <stack>
123 #include <stdexcept>
124 #include <streambuf>
125 #include <string>
126 #include <tuple>
127 #include <typeinfo>
128 #include <type_traits>
129 #include <unordered_map>
130 #include <unordered_set>
131 #include <utility>
132 #include <valarray>
133 #include <vector>
136 // "C" headers
137 #include <cassert>
138 #include <ccomplex>
139 #include <cctype>
140 #include <cerrno>
141 #include <cfenv>
142 #include <cfloat>
143 #include <cinttypes>
144 #include <ciso646>
145 #include <climits>
146 #include <clocale>
147 #include <cmath>
148 #include <csetjmp>
149 #include <csignal>
150 #include <cstdarg>
151 #include <cstdbool>
152 #include <cstddef>
153 #include <cstdint>
154 #include <cstdio>
155 #include <cstdlib>
156 #include <cstring>
157 #include <ctgmath>
158 #include <ctime>
159 #include <cwchar>
160 #include <cwctype>
162 // "C" compatibility headers
163 #include <assert.h>
164 #ifdef _GLIBCXX_HAVE_COMPLEX_H
165 #include <complex.h>
166 #endif
167 #include <ctype.h>
168 #include <errno.h>
169 #ifdef _GLIBCXX_HAVE_FENV_H
170 #include <fenv.h>
171 #endif
172 #include <float.h>
173 #ifdef _GLIBCXX_HAVE_INTTYPES_H
174 #include <inttypes.h>
175 #endif
176 #include <iso646.h>
177 #include <limits.h>
178 #include <locale.h>
179 #include <math.h>
180 #include <setjmp.h>
181 #include <signal.h>
182 #include <stdarg.h>
183 #ifdef _GLIBCXX_HAVE_STDBOOL_H
184 #include <stdbool.h>
185 #endif
186 #include <stddef.h>
187 #ifdef _GLIBCXX_HAVE_STDINT_H
188 #include <stdint.h>
189 #endif
190 #include <stdio.h>
191 #include <stdlib.h>
192 #include <string.h>
193 #ifdef _GLIBCXX_HAVE_TGMATH_H
194 #include <tgmath.h>
195 #endif
196 #include <time.h>
197 #ifdef _GLIBCXX_HAVE_WCHAR_H
198 #include <wchar.h>
199 #endif
200 #ifdef _GLIBCXX_HAVE_WCTYPE_H
201 #include <wctype.h>
202 #endif
204 // "C++" headers
205 #include <algorithm>
206 #include <array>
207 #include <bitset>
208 #include <chrono>
209 #include <complex>
210 #include <deque>
211 #include <exception>
212 #include <fstream>
213 #include <functional>
214 #include <iomanip>
215 #include <ios>
216 #include <iosfwd>
217 #include <iostream>
218 #include <istream>
219 #include <iterator>
220 #include <limits>
221 #include <list>
222 #include <locale>
223 #include <map>
224 #include <memory>
225 #include <mutex>
226 #include <new>
227 #include <numeric>
228 #include <ostream>
229 #include <queue>
230 #include <random>
231 #include <ratio>
232 #include <regex>
233 #include <set>
234 #include <sstream>
235 #include <stack>
236 #include <stdexcept>
237 #include <streambuf>
238 #include <string>
239 #include <tuple>
240 #include <typeinfo>
241 #include <type_traits>
242 #include <unordered_map>
243 #include <unordered_set>
244 #include <utility>
245 #include <valarray>
246 #include <vector>