From: Jason Merrill Date: Thu, 12 Feb 2015 20:20:30 +0000 (-0500) Subject: * testsuite/28_regex/traits/wchar_t/isctype.cc: Fix whitespace. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=864f0146f052c560b81794aced67f5d095d241a3;p=gcc.git * testsuite/28_regex/traits/wchar_t/isctype.cc: Fix whitespace. From-SVN: r220655 --- diff --git a/libstdc++-v3/testsuite/28_regex/traits/wchar_t/isctype.cc b/libstdc++-v3/testsuite/28_regex/traits/wchar_t/isctype.cc index 6ca5550b8f3..144d679f335 100644 --- a/libstdc++-v3/testsuite/28_regex/traits/wchar_t/isctype.cc +++ b/libstdc++-v3/testsuite/28_regex/traits/wchar_t/isctype.cc @@ -1,9 +1,9 @@ -// { dg-do run } -// { dg-options "-std=gnu++11" } -// { dg-additional-options "-DNEWLINE_IN_CLASS_BLANK" { target newlib } } - -// Copyright (C) 2010-2015 Free Software Foundation, Inc. -// +// { dg-do run } +// { dg-options "-std=gnu++11" } +// { dg-additional-options "-DNEWLINE_IN_CLASS_BLANK" { target newlib } } + +// Copyright (C) 2010-2015 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 @@ -48,14 +48,15 @@ test01() VERIFY(!t.isctype(L'e', t.lookup_classname(range(upper)))); VERIFY( t.isctype(L'e', t.lookup_classname(range(lower)))); VERIFY(!t.isctype(L'e', t.lookup_classname(range(nothing)))); - VERIFY(!t.isctype(L'_', t.lookup_classname(range(digit)))); - VERIFY( t.isctype(L' ', t.lookup_classname(range(blank)))); - VERIFY( t.isctype(L'\t', t.lookup_classname(range(blank)))); -#if defined (NEWLINE_IN_CLASS_BLANK) - /* On some targets, '\n' is in class 'blank'. - See https://gcc.gnu.org/ml/gcc-patches/2015-02/msg00059.html. */ - VERIFY( t.isctype(L'\n', t.lookup_classname(range(blank)))); -#else VERIFY(!t.isctype(L'\n', t.lookup_classname(range(blank)))); + VERIFY(!t.isctype(L'_', t.lookup_classname(range(digit)))); + VERIFY( t.isctype(L' ', t.lookup_classname(range(blank)))); + VERIFY( t.isctype(L'\t', t.lookup_classname(range(blank)))); +#if defined (NEWLINE_IN_CLASS_BLANK) + /* On some targets, '\n' is in class 'blank'. + See https://gcc.gnu.org/ml/gcc-patches/2015-02/msg00059.html. */ + VERIFY( t.isctype(L'\n', t.lookup_classname(range(blank)))); +#else + VERIFY(!t.isctype(L'\n', t.lookup_classname(range(blank)))); #endif VERIFY( t.isctype(L't', t.lookup_classname(range(upper), true))); VERIFY( t.isctype(L'T', t.lookup_classname(range(lower), true)));