Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.other/headers1.C

raw
1 // { dg-do run }
2 // { dg-skip-if "requires hosted libstdc++ for cassert" { ! hostedlib } }
3 // Copyright (C) 2000 Free Software Foundation, Inc.
4 // Contributed by Loren J. Rittle 07 Jun 2000 <[email protected]>
5 //
6 // This test catches the occasional macro/symbol conflict between
7 // C++ and system-provided headers.
8
9 #include <algorithm>
10 #include <bitset>
11 #include <cassert>
12 #include <cctype>
13 #include <cerrno>
14 #include <cfloat>
15 #if __cplusplus < 201703L
16 #include <ciso646>
17 #endif
18 #include <climits>
19 #include <clocale>
20 #include <cmath>
21 #include <complex>
22 #include <csetjmp>
23 #include <csignal>
24 #include <cstdarg>
25 #include <cstddef>
26 #include <cstdio>
27 #include <cstdlib>
28 #include <cstring>
29 #include <ctime>
30 #include <deque>
31 #include <exception>
32 #include <fstream>
33 #include <functional>
34 #include <iomanip>
35 #include <iosfwd>
36 #include <iostream>
37 #include <iterator>
38 #include <list>
39 #include <map>
40 #include <memory>
41 #include <new>
42 #include <numeric>
43 #include <queue>
44 #include <set>
45 #include <stack>
46 #include <stdexcept>
47 #include <string>
48 #include <typeinfo>
49 #include <utility>
50 // The VxWorks kernel-mode headers define macros named "max" and
51 // "min", which is not ISO-compliant, but is part of the VxWorks API.
52 #if defined __vxworks && !defined __RTP__
53 #undef max
54 #undef min
55 #endif
56 #include <valarray>
57 #include <vector>
58
59 int main ()
60 {
61 return 0;
62 }