Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
864f0146
Commit
864f0146
authored
Feb 12, 2015
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* testsuite/28_regex/traits/wchar_t/isctype.cc: Fix whitespace.
From-SVN: r220655
parent
ec6a7096
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
14 deletions
+15
-14
libstdc++-v3/testsuite/28_regex/traits/wchar_t/isctype.cc
+15
-14
No files found.
libstdc++-v3/testsuite/28_regex/traits/wchar_t/isctype.cc
View file @
864f0146
// { 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
)));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment