]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/testsuite/17_intro/headers/c++1998/stdc++.cc
c++/modules: Improve diagnostic when redeclaring builtin in module [PR102345]
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 17_intro / headers / c++1998 / stdc++.cc
1 // FreeBSD wants warning clean system headers:
2 // { dg-options "-Wall -Wsystem-headers" { target *-*-freebsd* *-*-dragonfly* } }
3 // { dg-do compile }
4 // 1999-05-12 bkoz
5
6 // Copyright (C) 1999-2024 Free Software Foundation, Inc.
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
11 // Free Software Foundation; either version 3, or (at your option)
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
20 // with this library; see the file COPYING3. If not see
21 // <http://www.gnu.org/licenses/>.
22
23 // 17.4.1.2 Headers
24
25 #include <bits/stdc++.h>
26
27 #if __STDC_HOSTED__
28 // "C" compatibility headers
29 #include <assert.h>
30 #include <ctype.h>
31 #include <errno.h>
32 #include <float.h>
33 #include <iso646.h>
34 #include <limits.h>
35 #include <locale.h>
36 #include <math.h>
37 #include <setjmp.h>
38 #include <signal.h>
39 #include <stdarg.h>
40 #include <stddef.h>
41 #include <stdio.h>
42 #include <stdlib.h>
43 #include <string.h>
44 #include <time.h>
45 #ifdef _GLIBCXX_HAVE_WCHAR_H
46 #include <wchar.h>
47 #endif
48 #ifdef _GLIBCXX_HAVE_WCTYPE_H
49 #include <wctype.h>
50 #endif
51 #endif