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