]>
Commit | Line | Data |
---|---|---|
12d74f0d | 1 | // FreeBSD wants warning clean system headers: |
d9e48a06 | 2 | // { dg-options "-std=gnu++11" } |
c3c2f973 | 3 | // { dg-additional-options "-Wall -Wsystem-headers" { target *-*-freebsd* *-*-dragonfly* } } |
af13a7a6 BK |
4 | // { dg-do compile } |
5 | ||
a945c346 | 6 | // Copyright (C) 2007-2024 Free Software Foundation, Inc. |
af13a7a6 BK |
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 | |
748086b7 | 11 | // Free Software Foundation; either version 3, or (at your option) |
af13a7a6 BK |
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 | |
748086b7 JJ |
20 | // with this library; see the file COPYING3. If not see |
21 | // <http://www.gnu.org/licenses/>. | |
af13a7a6 BK |
22 | |
23 | // 17.4.1.2 Headers | |
24 | ||
12d74f0d | 25 | #include <bits/stdc++.h> |
af13a7a6 BK |
26 | |
27 | // "C" compatibility headers | |
28 | #include <assert.h> | |
02537534 | 29 | #ifdef _GLIBCXX_HAVE_COMPLEX_H |
af13a7a6 | 30 | #include <complex.h> |
02537534 | 31 | #endif |
af13a7a6 BK |
32 | #include <ctype.h> |
33 | #include <errno.h> | |
02537534 | 34 | #ifdef _GLIBCXX_HAVE_FENV_H |
af13a7a6 | 35 | #include <fenv.h> |
02537534 | 36 | #endif |
af13a7a6 | 37 | #include <float.h> |
02537534 | 38 | #ifdef _GLIBCXX_HAVE_INTTYPES_H |
af13a7a6 | 39 | #include <inttypes.h> |
02537534 | 40 | #endif |
af13a7a6 BK |
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> | |
02537534 | 48 | #ifdef _GLIBCXX_HAVE_STDBOOL_H |
af13a7a6 | 49 | #include <stdbool.h> |
02537534 | 50 | #endif |
af13a7a6 | 51 | #include <stddef.h> |
02537534 | 52 | #ifdef _GLIBCXX_HAVE_STDINT_H |
af13a7a6 | 53 | #include <stdint.h> |
02537534 | 54 | #endif |
af13a7a6 BK |
55 | #include <stdio.h> |
56 | #include <stdlib.h> | |
57 | #include <string.h> | |
02537534 | 58 | #ifdef _GLIBCXX_HAVE_TGMATH_H |
af13a7a6 | 59 | #include <tgmath.h> |
02537534 | 60 | #endif |
af13a7a6 | 61 | #include <time.h> |
20b5f0b3 ESR |
62 | #if __has_include(<uchar.h>) |
63 | #include <uchar.h> | |
64 | #endif | |
54bdca68 | 65 | #ifdef _GLIBCXX_HAVE_WCHAR_H |
af13a7a6 | 66 | #include <wchar.h> |
54bdca68 PC |
67 | #endif |
68 | #ifdef _GLIBCXX_HAVE_WCTYPE_H | |
af13a7a6 | 69 | #include <wctype.h> |
54bdca68 | 70 | #endif |
af13a7a6 | 71 | |
12d74f0d BK |
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> | |
20b5f0b3 ESR |
109 | #if __has_include(<uchar.h>) |
110 | #include <uchar.h> | |
111 | #endif | |
12d74f0d BK |
112 | #ifdef _GLIBCXX_HAVE_WCHAR_H |
113 | #include <wchar.h> | |
114 | #endif | |
115 | #ifdef _GLIBCXX_HAVE_WCTYPE_H | |
116 | #include <wctype.h> | |
117 | #endif |