Fix 22_locale/locale/cons/12658_thread-2.cc on hppa.
[official-gcc.git] / libstdc++-v3 / testsuite / experimental / names.cc
blob5d82465f8b86101cb0b53f94b86fbffc5273db03
1 // Copyright (C) 2017-2023 Free Software Foundation, Inc.
2 //
3 // This file is part of the GNU ISO C++ Library. This library is free
4 // software; you can redistribute it and/or modify it under the
5 // terms of the GNU General Public License as published by the
6 // Free Software Foundation; either version 3, or (at your option)
7 // any later version.
9 // This library is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
14 // You should have received a copy of the GNU General Public License along
15 // with this library; see the file COPYING3. If not see
16 // <http://www.gnu.org/licenses/>.
18 // { dg-do compile { target c++11 } }
19 // { dg-add-options no_pch }
21 // Define macros for some common variables names that we must not use for
22 // naming variables, parameters etc. in the library.
24 #include "../17_intro/names.cc"
25 // Filesystem
26 #if __has_include(<experimental/filesystem>)
27 # include <experimental/filesystem>
28 #endif
30 #if __cplusplus >= 201402L
32 // Library Fundamentals
33 #include <experimental/algorithm>
34 #include <experimental/any>
35 #include <experimental/array>
36 #include <experimental/chrono>
37 #include <experimental/deque>
38 #include <experimental/forward_list>
39 #include <experimental/functional>
40 #include <experimental/iterator>
41 #include <experimental/list>
42 #include <experimental/map>
43 #include <experimental/memory>
44 #include <experimental/memory_resource>
45 #include <experimental/numeric>
46 #include <experimental/optional>
47 #include <experimental/propagate_const>
48 #include <experimental/random>
49 #include <experimental/ratio>
50 #include <experimental/regex>
51 #include <experimental/set>
52 #include <experimental/source_location>
53 #include <experimental/string>
54 #include <experimental/string_view>
55 #include <experimental/system_error>
56 #include <experimental/tuple>
57 #include <experimental/type_traits>
58 #include <experimental/unordered_map>
59 #include <experimental/unordered_set>
60 #include <experimental/utility>
61 #include <experimental/vector>
62 // Networking
63 #ifdef _GLIBCXX_HAS_GTHREADS
64 # include <experimental/buffer>
65 # include <experimental/internet>
66 # include <experimental/io_context>
67 # include <experimental/net>
68 # include <experimental/netfwd>
69 # include <experimental/socket>
70 # include <experimental/timer>
71 # include <experimental/executor>
72 #endif
74 #endif // C++14