diff options
author | Jason Merrill <jason@gcc.gnu.org> | 2015-02-12 15:20:30 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2015-02-12 15:20:30 -0500 |
commit | 864f0146f052c560b81794aced67f5d095d241a3 (patch) | |
tree | 8a614da4d836ecd375edb05864931fd5bf1fc15b /libstdc++-v3/testsuite/28_regex/traits | |
parent | ec6a7096e3da03d3f0b22878be007d54af6d137d (diff) | |
download | gcc-864f0146f052c560b81794aced67f5d095d241a3.tar.gz |
* testsuite/28_regex/traits/wchar_t/isctype.cc: Fix whitespace.
From-SVN: r220655
Diffstat (limited to 'libstdc++-v3/testsuite/28_regex/traits')
-rw-r--r-- | libstdc++-v3/testsuite/28_regex/traits/wchar_t/isctype.cc | 29 |
1 files changed, 15 insertions, 14 deletions
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))); |