summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/17_intro/headers/c++200x/all_no_rtti.cc
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@redhat.com>2010-02-17 05:43:24 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2010-02-17 05:43:24 +0000
commit32ade5590ec9650b24dbd0965831397c7b009314 (patch)
treefc054963dec75674d1c899ab4e594c10311df826 /libstdc++-v3/testsuite/17_intro/headers/c++200x/all_no_rtti.cc
parentbc349d0a7f40da33d4b2ed8fb972c2a5e3a26ad9 (diff)
downloadgcc-32ade5590ec9650b24dbd0965831397c7b009314.tar.gz
ios_locale.cc: Fixes for -pedantic.
2010-02-16 Benjamin Kosnik <bkoz@redhat.com> * src/ios_locale.cc: Fixes for -pedantic. * src/system_error.cc: Same. * src/locale.cc: Same. * src/list.cc: Same. * src/locale_facets.cc: Same. * src/locale_init.cc: Same. * src/ios.cc: Same. * config/locale/darwin/ctype_members.cc: Same. * config/locale/gnu/collate_members.cc: Same. * config/locale/gnu/ctype_members.cc: Same. * config/locale/gnu/c_locale.cc: Same. * config/locale/gnu/monetary_members.cc: Same. * config/locale/gnu/time_members.cc: Same. * config/locale/ieee_1003.1-2001/c_locale.cc: Same. * config/locale/generic/collate_members.cc: Same. * config/locale/generic/ctype_members.cc: Same. * config/locale/generic/c_locale.cc: Same. * config/locale/generic/monetary_members.cc: Same. * config/locale/generic/time_members.cc: Same. * config/io/basic_file_stdio.cc: Same. * libsupc++/pbase_type_info.cc: Fixes for -fno-rtti. * libsupc++/pointer_type_info.cc: Same. * libsupc++/eh_personality.cc: Same. * include/std/system_error: Throw spacing. * include/bits/locale_classes.h: Same. * include/bits/locale_facets.h: Same. * include/bits/ios_base.h: Same. * testsuite/17_intro/headers/c++200x/all_no_rtti.cc: New. * testsuite/17_intro/headers/c++1998/all_no_rtti.cc: New From-SVN: r156822
Diffstat (limited to 'libstdc++-v3/testsuite/17_intro/headers/c++200x/all_no_rtti.cc')
-rw-r--r--libstdc++-v3/testsuite/17_intro/headers/c++200x/all_no_rtti.cc21
1 files changed, 21 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/17_intro/headers/c++200x/all_no_rtti.cc b/libstdc++-v3/testsuite/17_intro/headers/c++200x/all_no_rtti.cc
new file mode 100644
index 00000000000..2ce83ed0eb4
--- /dev/null
+++ b/libstdc++-v3/testsuite/17_intro/headers/c++200x/all_no_rtti.cc
@@ -0,0 +1,21 @@
+// { dg-do compile }
+// { dg-options "-std=gnu++0x -fno-rtti" }
+
+// Copyright (C) 2010 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 3, 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 COPYING3. If not see
+// <http://www.gnu.org/licenses/>.
+
+#include <bits/extc++.h>