Fix 22_locale/locale/cons/12658_thread-2.cc on hppa.
[official-gcc.git] / libstdc++-v3 / testsuite / 17_intro / using_namespace_std_exp_neg.cc
blobbad67af6ea05128de11af31b9e3b02d3188b010a
1 // { dg-do compile { target c++11 } }
3 // Copyright (C) 2016-2023 Free Software Foundation, Inc.
4 //
5 // This file is part of the GNU ISO C++ Library. This library is free
6 // software; you can redistribute it and/or modify it under the
7 // terms of the GNU General Public License as published by the
8 // Free Software Foundation; either version 3, or (at your option)
9 // any later version.
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
16 // You should have received a copy of the GNU General Public License along
17 // with this library; see the file COPYING3. If not see
18 // <http://www.gnu.org/licenses/>.
20 #include <algorithm>
21 #include <array>
22 #include <bitset>
23 #include <exception>
24 #include <functional>
25 #include <iterator>
26 #include <limits>
27 #include <memory>
28 #include <new>
29 #include <numeric>
30 #include <tuple>
31 #include <typeinfo>
32 #include <type_traits>
33 #include <utility>
35 #if __STDC_HOSTED__
36 # include <complex>
37 # include <deque>
38 # include <fstream>
39 # include <iomanip>
40 # include <ios>
41 # include <iosfwd>
42 # include <iostream>
43 # include <istream>
44 # include <list>
45 # include <locale>
46 # include <map>
47 # include <ostream>
48 # include <queue>
49 # include <random>
50 # include <regex>
51 # include <set>
52 # include <sstream>
53 # include <stack>
54 # include <stdexcept>
55 # include <streambuf>
56 # include <string>
57 # include <unordered_map>
58 # include <unordered_set>
59 # include <valarray>
60 # include <vector>
61 #endif
63 namespace gnu
65 using namespace std::experimental; // { dg-error "is not a namespace-name" }