]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/testsuite/17_intro/headers/c++2017/stdc++.cc
libstdc++: Remove redundant -std=gnu++17 option from remaining tests
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 17_intro / headers / c++2017 / stdc++.cc
1 // FreeBSD wants warning clean system headers:
2 // { dg-additional-options "-Wall -Wsystem-headers" { target *-*-freebsd* *-*-dragonfly* } }
3 // { dg-do compile { target c++17 } }
4
5 // Copyright (C) 2015-2021 Free Software Foundation, Inc.
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