OSDN Git Service

Daily bump.
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / 17_intro / headers / all_pedantic_errors.cc
1 // { dg-do compile }
2 // { dg-options "-pedantic-errors" }
3
4 // Copyright (C) 2007, 2009 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
22 // Make sure all the includes can be compiled with -Wc++0x-compat
23 // libstdc++/30571
24
25 // C
26 #include <cassert>
27 #include <cctype>
28 #include <cerrno>
29 #include <cfloat>
30 #include <ciso646>
31 #include <climits>
32 #include <clocale>
33 #include <cmath>
34 #include <csetjmp>
35 #include <csignal>
36 #include <cstdarg>
37 #include <cstddef>
38 #include <cstdio>
39 #include <cstdlib>
40 #include <cstring>
41 #include <ctime>
42
43 // C++
44 #include <algorithm>
45 #include <bitset>
46 #include <complex>
47 #include <deque>
48 #include <exception>
49 #include <fstream>
50 #include <functional>
51 #include <iomanip>
52 #include <ios>
53 #include <iosfwd>
54 #include <iostream>
55 #include <istream>
56 #include <iterator>
57 #include <limits>
58 #include <list>
59 #include <locale>
60 #include <map>
61 #include <memory>
62 #include <new>
63 #include <numeric>
64 #include <ostream>
65 #include <queue>
66 #include <set>
67 #include <sstream>
68 #include <stack>
69 #include <stdexcept>
70 #include <streambuf>
71 #include <string>
72 #include <typeinfo>
73 #include <utility>
74 #include <valarray>
75 #include <vector>
76
77 // TR1
78 #include <tr1/array>
79 #include <tr1/cctype>
80 #include <tr1/cfenv>
81 #include <tr1/cfloat>
82 #include <tr1/cinttypes>
83 #include <tr1/climits>
84 #include <tr1/cmath>
85 #include <tr1/complex>
86 #include <tr1/cstdarg>
87 #include <tr1/cstdbool>
88 #include <tr1/cstdint>
89 #include <tr1/cstdio>
90 #include <tr1/cstdlib>
91 #include <tr1/ctgmath>
92 #include <tr1/ctime>
93 #include <tr1/cwchar>
94 #include <tr1/cwctype>
95 #include <tr1/functional>
96 #include <tr1/random>
97 #include <tr1/tuple>
98 #include <tr1/unordered_map>
99 #include <tr1/unordered_set>
100 #include <tr1/utility>
101
102 // Extensions
103 #include <ext/algorithm>
104 #include <ext/array_allocator.h>
105 #include <ext/atomicity.h>
106 #include <ext/bitmap_allocator.h>
107 #if _GLIBCXX_HAVE_ICONV
108 #include <ext/codecvt_specializations.h>
109 #endif
110 #include <ext/concurrence.h>
111 #include <ext/debug_allocator.h>
112 #if _GLIBCXX_HAVE_ICONV
113 #include <ext/enc_filebuf.h>
114 #endif
115 #include <ext/functional>
116 #include <ext/iterator>
117 #include <ext/malloc_allocator.h>
118 #include <ext/memory>
119 #include <ext/mt_allocator.h>
120 #include <ext/new_allocator.h>
121 #include <ext/numeric>
122 #include <ext/pod_char_traits.h>
123 #include <ext/pool_allocator.h>
124 #include <ext/rb_tree>
125 #include <ext/rope>
126 #include <ext/slist>
127 #include <ext/stdio_filebuf.h>
128 #include <ext/stdio_sync_filebuf.h>
129 #include <ext/throw_allocator.h>
130 #include <ext/typelist.h>
131 #include <ext/type_traits.h>
132 #include <ext/vstring.h>
133 #include <ext/pb_ds/assoc_container.hpp>
134 #include <ext/pb_ds/priority_queue.hpp>
135 #include <ext/pb_ds/exception.hpp>
136 #include <ext/pb_ds/hash_policy.hpp>
137 #include <ext/pb_ds/list_update_policy.hpp>
138 #include <ext/pb_ds/tree_policy.hpp>
139 #include <ext/pb_ds/trie_policy.hpp>