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-Tag: upstream/12.2.0~56701 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=864f0146f052c560b81794aced67f5d095d241a3;p=platform%2Fupstream%2Fgcc.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 6ca5550..144d679 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)));