]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/testsuite/17_intro/headers/c++2014/stdc++.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 17_intro / headers / c++2014 / stdc++.cc
1 // FreeBSD wants warning clean system headers:
2 // { dg-options "-std=gnu++14" }
3 // { dg-additional-options "-Wall -Wsystem-headers" { target *-*-freebsd* *-*-dragonfly* } }
4 // { dg-do compile }
5
6 // Copyright (C) 2015-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 // "C" compatibility headers
28 #include <assert.h>
29 #ifdef _GLIBCXX_HAVE_COMPLEX_H
30 #include <complex.h>
31 #endif
32 #include <ctype.h>
33 #include <errno.h>
34 #ifdef _GLIBCXX_HAVE_FENV_H
35 #include <fenv.h>
36 #endif
37 #include <float.h>
38 #ifdef _GLIBCXX_HAVE_INTTYPES_H
39 #include <inttypes.h>
40 #endif
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>
48 #ifdef _GLIBCXX_HAVE_STDBOOL_H
49 #include <stdbool.h>
50 #endif
51 #include <stddef.h>
52 #ifdef _GLIBCXX_HAVE_STDINT_H
53 #include <stdint.h>
54 #endif
55 #include <stdio.h>
56 #include <stdlib.h>
57 #include <string.h>
58 #ifdef _GLIBCXX_HAVE_TGMATH_H
59 #include <tgmath.h>
60 #endif
61 #include <time.h>
62 #if __has_include(<uchar.h>)
63 #include <uchar.h>
64 #endif
65 #ifdef _GLIBCXX_HAVE_WCHAR_H
66 #include <wchar.h>
67 #endif
68 #ifdef _GLIBCXX_HAVE_WCTYPE_H
69 #include <wctype.h>
70 #endif