X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=libstdc%2B%2B-v3%2Ftestsuite%2Ftr1%2F7_regular_expressions%2Fregex%2Fcons%2Fchar%2Fc_string_grep.cc;h=824d161d9ab7306e9ee069fb5bd780fb48ad72e5;hb=83ffe9cde7fe0b4deb0d1b54175fd9b19c38179c;hp=d49e31ce8b4b074fb501936338b0cd51480b5e06;hpb=a21856f76bb601b3dd4f1a180ff07c5420075756;p=thirdparty%2Fgcc.git diff --git a/libstdc++-v3/testsuite/tr1/7_regular_expressions/regex/cons/char/c_string_grep.cc b/libstdc++-v3/testsuite/tr1/7_regular_expressions/regex/cons/char/c_string_grep.cc index d49e31ce8b4b..824d161d9ab7 100644 --- a/libstdc++-v3/testsuite/tr1/7_regular_expressions/regex/cons/char/c_string_grep.cc +++ b/libstdc++-v3/testsuite/tr1/7_regular_expressions/regex/cons/char/c_string_grep.cc @@ -2,12 +2,12 @@ // 2007-03-12 Stephen M. Webb // -// Copyright (C) 2007 Free Software Foundation, Inc. +// Copyright (C) 2007-2023 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) +// 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, @@ -16,17 +16,16 @@ // 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. +// with this library; see the file COPYING3. If not see +// . // 7.8.2 basic_regex constructors #include void -test01() -{ +test01() +{ using std::tr1::regex; regex re("(a|b)*abb", regex::grep);