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