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
553355fe
Commit
553355fe
authored
Dec 10, 2003
by
Richard Henderson
Committed by
Richard Henderson
Dec 10, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.c-torture/execute/wchar_t-1.c: Convert to utf-8.
From-SVN: r74491
parent
5ca18844
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
gcc/testsuite/ChangeLog
+2
-0
gcc/testsuite/gcc.c-torture/execute/wchar_t-1.c
+4
-4
No files found.
gcc/testsuite/ChangeLog
View file @
553355fe
2003-12-10 Richard Henderson <rth@redhat.com>
* gcc.c-torture/execute/wchar_t-1.c: Convert to utf-8.
* gcc.dg/intermod-1.c: Adjust assembler scan pattern for alpha.
2003-12-08 Matt Austern <austern@apple.com>
...
...
gcc/testsuite/gcc.c-torture/execute/wchar_t-1.c
View file @
553355fe
typedef
__WCHAR_TYPE__
wchar_t
;
wchar_t
x
[]
=
L""
;
wchar_t
y
=
L
''
;
wchar_t
x
[]
=
L"
Ä
"
;
wchar_t
y
=
L'
Ä
'
;
extern
void
abort
(
void
);
extern
void
exit
(
int
);
...
...
@@ -8,9 +8,9 @@ int main (void)
{
if
(
sizeof
(
x
)
/
sizeof
(
wchar_t
)
!=
2
)
abort
();
if
(
x
[
0
]
!=
L
''
||
x
[
1
]
!=
L'\0'
)
if
(
x
[
0
]
!=
L'
Ä
'
||
x
[
1
]
!=
L'\0'
)
abort
();
if
(
y
!=
L
''
)
if
(
y
!=
L'
Ä
'
)
abort
();
exit
(
0
);
}
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