summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/tr1
diff options
context:
space:
mode:
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-19 23:22:26 +0000
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-19 23:22:26 +0000
commit740f6bf6fe1b4e54214a39939b2a8941d2b03f14 (patch)
treeee256d570a02c1fea73e89f92ae8b4bbad6be30b /libstdc++-v3/testsuite/tr1
parent7a19386fc9499eeaf1012102ba9d031d584c7179 (diff)
downloadgcc-740f6bf6fe1b4e54214a39939b2a8941d2b03f14.tar.gz
* config/abi/pre/gnu.ver (_ZNSt11regex_errorC*): Export regex_error
constructors. * testsuite/20_util/addressof/1.cc: Remove { dg-do compile }. * testsuite/20_util/allocator_traits/members/destroy.cc: Likewise. * testsuite/20_util/allocator_traits/members/select.cc: Likewise. Fix failure. * testsuite/28_regex/basic_regex/ctors/extended/cstring.cc: Likewise. * testsuite/28_regex/init-list.cc: Likewise. * testsuite/28_regex/regex_error/regex_error.cc: Likewise. * testsuite/28_regex/sub_match/length.cc: Likewise. Add main. * testsuite/28_regex/sub_match/cast_char.cc: Likewise. Fix test. * testsuite/28_regex/sub_match/cast_wchar_t.cc: Likewise. * testsuite/tr1/7_regular_expressions/regex/cons/char/ c_string_extended.cc: Delete. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205063 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite/tr1')
-rw-r--r--libstdc++-v3/testsuite/tr1/7_regular_expressions/regex/cons/char/c_string_extended.cc42
1 files changed, 0 insertions, 42 deletions
diff --git a/libstdc++-v3/testsuite/tr1/7_regular_expressions/regex/cons/char/c_string_extended.cc b/libstdc++-v3/testsuite/tr1/7_regular_expressions/regex/cons/char/c_string_extended.cc
deleted file mode 100644
index 24fa717d840..00000000000
--- a/libstdc++-v3/testsuite/tr1/7_regular_expressions/regex/cons/char/c_string_extended.cc
+++ /dev/null
@@ -1,42 +0,0 @@
-// { dg-do compile }
-
-// 2007-03-12 Stephen M. Webb <stephen.webb@bregmasoft.com>
-//
-// Copyright (C) 2007-2013 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/>.
-
-// 7.8.2 basic_regex constructors
-
-#include <tr1/regex>
-#include <testsuite_hooks.h>
-
-void
-test01()
-{
- bool test __attribute__((unused)) = true;
-
- std::tr1::regex re("(wee|week)(knights|night)", std::tr1::regex::extended);
-
- VERIFY( re.flags() == std::tr1::regex::extended );
- VERIFY( re.mark_count() == 0 );
-}
-
-int main()
-{
- test01();
- return 0;
-}