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