OSDN Git Service

2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / 17_intro / headers_c.cc
1 // 2000-12-20 bkoz
2
3 // Copyright (C) 2000, 2001 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 2, or (at your option)
9 // any later version.
10
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.
15
16 // You should have received a copy of the GNU General Public License along
17 // with this library; see the file COPYING.  If not, write to the Free
18 // Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
19 // USA.
20
21 // 17.4.1.2 Headers
22
23 // This file tests C inclusion then C++ inclusion.
24
25 // "C" headers
26 #include <assert.h>
27 #include <ctype.h>
28 #include <errno.h>
29 #include <float.h>
30 #include <iso646.h>
31 #include <limits.h>
32 #include <locale.h>
33 #include <math.h>
34 #include <setjmp.h>
35 #include <signal.h>
36 #include <stdarg.h>
37 #include <stddef.h>
38 #include <stdio.h>
39 #include <stdlib.h>
40 #include <string.h>
41 #include <time.h>
42
43 // C++ headers
44 #include <cassert>
45 #include <cctype>
46 #include <cerrno>
47 #include <cfloat>
48 #include <ciso646>
49 #include <climits>
50 #include <clocale>
51 #include <cmath>
52 #include <csetjmp>
53 #include <csignal>
54 #include <cstdarg>
55 #include <cstddef>
56 #include <cstdio>
57 #include <cstdlib>
58 #include <cstring>
59 #include <ctime>
60
61 // "C" headers that might not work if wchar_t support is disabled.
62 #include <bits/c++config.h>
63 #if _GLIBCPP_USE_WCHAR_T
64   #include <wchar.h>
65   #include <wctype.h>
66   #include <cwchar>
67   #include <cwctype>
68 #endif
69
70 int main() { }