]>
Commit | Line | Data |
---|---|---|
c1130929 | 1 | // FreeBSD wants warning clean system headers: |
b4e77cda | 2 | // { dg-options "-std=gnu++14" } |
ba0027d3 | 3 | // { dg-additional-options "-Wall -Wsystem-headers" { target *-*-freebsd* *-*-dragonfly* } } |
bec9a462 | 4 | // { dg-do compile } |
5 | ||
fbd26352 | 6 | // Copyright (C) 2015-2019 Free Software Foundation, Inc. |
bec9a462 | 7 | // |
8 | // This file is part of the GNU ISO C++ Library. This library is free | |
9 | // software; you can redistribute it and/or modify it under the | |
10 | // terms of the GNU General Public License as published by the | |
6bc9506f | 11 | // Free Software Foundation; either version 3, or (at your option) |
bec9a462 | 12 | // any later version. |
13 | ||
14 | // This library is distributed in the hope that it will be useful, | |
15 | // but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 | // GNU General Public License for more details. | |
18 | ||
19 | // You should have received a copy of the GNU General Public License along | |
6bc9506f | 20 | // with this library; see the file COPYING3. If not see |
21 | // <http://www.gnu.org/licenses/>. | |
bec9a462 | 22 | |
23 | // 17.4.1.2 Headers | |
24 | ||
c1130929 | 25 | #include <bits/stdc++.h> |
bec9a462 | 26 | |
27 | // "C" compatibility headers | |
28 | #include <assert.h> | |
e2e3e745 | 29 | #ifdef _GLIBCXX_HAVE_COMPLEX_H |
bec9a462 | 30 | #include <complex.h> |
e2e3e745 | 31 | #endif |
bec9a462 | 32 | #include <ctype.h> |
33 | #include <errno.h> | |
e2e3e745 | 34 | #ifdef _GLIBCXX_HAVE_FENV_H |
bec9a462 | 35 | #include <fenv.h> |
e2e3e745 | 36 | #endif |
bec9a462 | 37 | #include <float.h> |
e2e3e745 | 38 | #ifdef _GLIBCXX_HAVE_INTTYPES_H |
bec9a462 | 39 | #include <inttypes.h> |
e2e3e745 | 40 | #endif |
bec9a462 | 41 | #include <iso646.h> |
42 | #include <limits.h> | |
43 | #include <locale.h> | |
44 | #include <math.h> | |
45 | #include <setjmp.h> | |
46 | #include <signal.h> | |
47 | #include <stdarg.h> | |
e2e3e745 | 48 | #ifdef _GLIBCXX_HAVE_STDBOOL_H |
bec9a462 | 49 | #include <stdbool.h> |
e2e3e745 | 50 | #endif |
bec9a462 | 51 | #include <stddef.h> |
e2e3e745 | 52 | #ifdef _GLIBCXX_HAVE_STDINT_H |
bec9a462 | 53 | #include <stdint.h> |
e2e3e745 | 54 | #endif |
bec9a462 | 55 | #include <stdio.h> |
56 | #include <stdlib.h> | |
57 | #include <string.h> | |
e2e3e745 | 58 | #ifdef _GLIBCXX_HAVE_TGMATH_H |
bec9a462 | 59 | #include <tgmath.h> |
e2e3e745 | 60 | #endif |
bec9a462 | 61 | #include <time.h> |
f8c2da4b | 62 | #if __has_include(<uchar.h>) |
63 | #include <uchar.h> | |
64 | #endif | |
4f8570c7 | 65 | #ifdef _GLIBCXX_HAVE_WCHAR_H |
bec9a462 | 66 | #include <wchar.h> |
4f8570c7 | 67 | #endif |
68 | #ifdef _GLIBCXX_HAVE_WCTYPE_H | |
bec9a462 | 69 | #include <wctype.h> |
4f8570c7 | 70 | #endif |
bec9a462 | 71 | |
c1130929 | 72 | #include <bits/stdc++.h> |
73 | ||
74 | // "C" compatibility headers | |
75 | #include <assert.h> | |
76 | #ifdef _GLIBCXX_HAVE_COMPLEX_H | |
77 | #include <complex.h> | |
78 | #endif | |
79 | #include <ctype.h> | |
80 | #include <errno.h> | |
81 | #ifdef _GLIBCXX_HAVE_FENV_H | |
82 | #include <fenv.h> | |
83 | #endif | |
84 | #include <float.h> | |
85 | #ifdef _GLIBCXX_HAVE_INTTYPES_H | |
86 | #include <inttypes.h> | |
87 | #endif | |
88 | #include <iso646.h> | |
89 | #include <limits.h> | |
90 | #include <locale.h> | |
91 | #include <math.h> | |
92 | #include <setjmp.h> | |
93 | #include <signal.h> | |
94 | #include <stdarg.h> | |
95 | #ifdef _GLIBCXX_HAVE_STDBOOL_H | |
96 | #include <stdbool.h> | |
97 | #endif | |
98 | #include <stddef.h> | |
99 | #ifdef _GLIBCXX_HAVE_STDINT_H | |
100 | #include <stdint.h> | |
101 | #endif | |
102 | #include <stdio.h> | |
103 | #include <stdlib.h> | |
104 | #include <string.h> | |
105 | #ifdef _GLIBCXX_HAVE_TGMATH_H | |
106 | #include <tgmath.h> | |
107 | #endif | |
108 | #include <time.h> | |
f8c2da4b | 109 | #if __has_include(<uchar.h>) |
110 | #include <uchar.h> | |
111 | #endif | |
c1130929 | 112 | #ifdef _GLIBCXX_HAVE_WCHAR_H |
113 | #include <wchar.h> | |
114 | #endif | |
115 | #ifdef _GLIBCXX_HAVE_WCTYPE_H | |
116 | #include <wctype.h> | |
117 | #endif |