xfail dg-final "Sunk statements: 5" on hppa*64*-*-*
[official-gcc.git] / libstdc++-v3 / testsuite / 17_intro / using_namespace_std_tr1_neg.cc
blob2608785c5eb16860088ea6628304d7d75b6d98af
1 // { dg-do compile { target c++11 } }
3 // Copyright (C) 2007-2024 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 // NB: parallel-mode uses TR1 bits...
21 // { dg-skip-if "" { *-*-* } { "-D_GLIBCXX_PARALLEL" } }
23 #include <algorithm>
24 #include <array>
25 #include <bitset>
26 #include <exception>
27 #include <functional>
28 #include <iterator>
29 #include <limits>
30 #include <memory>
31 #include <new>
32 #include <numeric>
33 #include <tuple>
34 #include <typeinfo>
35 #include <type_traits>
36 #include <utility>
38 #if __STDC_HOSTED__
39 # include <complex>
40 # include <deque>
41 # include <fstream>
42 # include <iomanip>
43 # include <ios>
44 # include <iosfwd>
45 # include <iostream>
46 # include <istream>
47 # include <list>
48 # include <locale>
49 # include <map>
50 # include <ostream>
51 # include <queue>
52 # include <random>
53 # include <regex>
54 # include <set>
55 # include <sstream>
56 # include <stack>
57 # include <stdexcept>
58 # include <streambuf>
59 # include <string>
60 # include <unordered_map>
61 # include <unordered_set>
62 # include <valarray>
63 # include <vector>
64 #endif
66 namespace gnu
68 using namespace std::tr1; // { dg-error "is not a namespace-name" }