]>
Commit | Line | Data |
---|---|---|
d9e48a06 | 1 | // { dg-options "-std=gnu++11" } |
af13a7a6 BK |
2 | // { dg-do compile } |
3 | ||
aa118a03 | 4 | // Copyright (C) 2007-2014 Free Software Foundation, Inc. |
af13a7a6 BK |
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 | |
748086b7 | 9 | // Free Software Foundation; either version 3, or (at your option) |
af13a7a6 BK |
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 | |
748086b7 JJ |
18 | // with this library; see the file COPYING3. If not see |
19 | // <http://www.gnu.org/licenses/>. | |
af13a7a6 | 20 | |
932f6f4a PC |
21 | // NB: parallel-mode uses TR1 bits... |
22 | #undef _GLIBCXX_PARALLEL | |
23 | ||
af13a7a6 BK |
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 | ||
932f6f4a | 69 | // { dg-error "expected namespace-name before" "" { target *-*-* } 66 } |