| // { dg-do compile } |
| // 1999-05-12 bkoz |
| |
| // Copyright (C) 1999, 2007 Free Software Foundation, Inc. |
| // |
| // This file is part of the GNU ISO C++ Library. This library is free |
| // software; you can redistribute it and/or modify it under the |
| // terms of the GNU General Public License as published by the |
| // Free Software Foundation; either version 2, or (at your option) |
| // any later version. |
| |
| // This library is distributed in the hope that it will be useful, |
| // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| // GNU General Public License for more details. |
| |
| // You should have received a copy of the GNU General Public License along |
| // with this library; see the file COPYING. If not, write to the Free |
| // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, |
| // USA. |
| |
| // FreeBSD wants warning clean system headers: |
| // { dg-options "-Wall -Wsystem-headers" { target *-*-freebsd* } } |
| |
| // 17.4.1.2 Headers |
| |
| // "C" headers |
| #include <cassert> |
| #include <cctype> |
| #include <cerrno> |
| #include <cfloat> |
| #include <ciso646> |
| #include <climits> |
| #include <clocale> |
| #include <cmath> |
| #include <csetjmp> |
| #include <csignal> |
| #include <cstdarg> |
| #include <cstddef> |
| #include <cstdio> |
| #include <cstdlib> |
| #include <cstring> |
| #include <ctime> |
| #include <cwchar> |
| #include <cwctype> |
| |
| // "C" compatibility headers |
| #include <assert.h> |
| #include <ctype.h> |
| #include <errno.h> |
| #include <float.h> |
| #include <iso646.h> |
| #include <limits.h> |
| #include <locale.h> |
| #include <math.h> |
| #include <setjmp.h> |
| #include <signal.h> |
| #include <stdarg.h> |
| #include <stddef.h> |
| #include <stdio.h> |
| #include <stdlib.h> |
| #include <string.h> |
| #include <time.h> |
| #ifdef _GLIBCXX_HAVE_WCHAR_H |
| #include <wchar.h> |
| #endif |
| #ifdef _GLIBCXX_HAVE_WCTYPE_H |
| #include <wctype.h> |
| #endif |
| |
| // "C++" headers |
| #include <algorithm> |
| #include <bitset> |
| #include <complex> |
| #include <deque> |
| #include <exception> |
| #include <fstream> |
| #include <functional> |
| #include <iomanip> |
| #include <ios> |
| #include <iosfwd> |
| #include <iostream> |
| #include <istream> |
| #include <iterator> |
| #include <limits> |
| #include <list> |
| #include <locale> |
| #include <map> |
| #include <memory> |
| #include <new> |
| #include <numeric> |
| #include <ostream> |
| #include <queue> |
| #include <set> |
| #include <sstream> |
| #include <stack> |
| #include <stdexcept> |
| #include <streambuf> |
| #include <string> |
| #include <typeinfo> |
| #include <utility> |
| #include <valarray> |
| #include <vector> |
| |