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
21582672
Commit
21582672
authored
May 20, 2019
by
Marek Polacek
Committed by
Marek Polacek
May 20, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* g++.dg/ext/utf8-2.C: Accept both "char" and "char8_t" in aka.
From-SVN: r271430
parent
7e85b4dc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/g++.dg/ext/utf8-2.C
+8
-8
No files found.
gcc/testsuite/ChangeLog
View file @
21582672
2019-05-20 Marek Polacek <polacek@redhat.com>
* g++.dg/ext/utf8-2.C: Accept both "char" and "char8_t" in aka.
2019-05-20 Jeff Law <law@redhat.com>
2019-05-20 Jeff Law <law@redhat.com>
* gcc.dg/Wtype-limits-Wextra.c: Adjust expected output after
* gcc.dg/Wtype-limits-Wextra.c: Adjust expected output after
...
...
gcc/testsuite/g++.dg/ext/utf8-2.C
View file @
21582672
...
@@ -12,16 +12,16 @@ const char16_t s1[] = u8"ab"; // { dg-error "from a string literal with type arr
...
@@ -12,16 +12,16 @@ const char16_t s1[] = u8"ab"; // { dg-error "from a string literal with type arr
const
char32_t
s2
[]
=
u8"ab"
;
// { dg-error "from a string literal with type array of .char." }
const
char32_t
s2
[]
=
u8"ab"
;
// { dg-error "from a string literal with type array of .char." }
const
wchar_t
s3
[]
=
u8"ab"
;
// { dg-error "from a string literal with type array of .char." }
const
wchar_t
s3
[]
=
u8"ab"
;
// { dg-error "from a string literal with type array of .char." }
const
u8_char_t
t0
[
0
]
=
u8"ab"
;
// { dg-error "initializer-string for 'const u8_char_t \\\[0]' {aka 'const
char
\\\[0]'} is too long" }
const
u8_char_t
t0
[
0
]
=
u8"ab"
;
// { dg-error "initializer-string for 'const u8_char_t \\\[0]' {aka 'const
\(char|char8_t\)
\\\[0]'} is too long" }
const
u8_char_t
t1
[
1
]
=
u8"ab"
;
// { dg-error "initializer-string for 'const u8_char_t \\\[1]' {aka 'const
char
\\\[1]'} is too long" }
const
u8_char_t
t1
[
1
]
=
u8"ab"
;
// { dg-error "initializer-string for 'const u8_char_t \\\[1]' {aka 'const
\(char|char8_t\)
\\\[1]'} is too long" }
const
u8_char_t
t2
[
2
]
=
u8"ab"
;
// { dg-error "initializer-string for 'const u8_char_t \\\[2]' {aka 'const
char
\\\[2]'} is too long" }
const
u8_char_t
t2
[
2
]
=
u8"ab"
;
// { dg-error "initializer-string for 'const u8_char_t \\\[2]' {aka 'const
\(char|char8_t\)
\\\[2]'} is too long" }
const
u8_char_t
t3
[
3
]
=
u8"ab"
;
const
u8_char_t
t3
[
3
]
=
u8"ab"
;
const
u8_char_t
t4
[
4
]
=
u8"ab"
;
const
u8_char_t
t4
[
4
]
=
u8"ab"
;
const
u8_char_t
u0
[
0
]
=
u8"\u2160."
;
// { dg-error "initializer-string for 'const u8_char_t \\\[0]' {aka 'const
char
\\\[0]'} is too long" }
const
u8_char_t
u0
[
0
]
=
u8"\u2160."
;
// { dg-error "initializer-string for 'const u8_char_t \\\[0]' {aka 'const
\(char|char8_t\)
\\\[0]'} is too long" }
const
u8_char_t
u1
[
1
]
=
u8"\u2160."
;
// { dg-error "initializer-string for 'const u8_char_t \\\[1]' {aka 'const
char
\\\[1]'} is too long" }
const
u8_char_t
u1
[
1
]
=
u8"\u2160."
;
// { dg-error "initializer-string for 'const u8_char_t \\\[1]' {aka 'const
\(char|char8_t\)
\\\[1]'} is too long" }
const
u8_char_t
u2
[
2
]
=
u8"\u2160."
;
// { dg-error "initializer-string for 'const u8_char_t \\\[2]' {aka 'const
char
\\\[2]'} is too long" }
const
u8_char_t
u2
[
2
]
=
u8"\u2160."
;
// { dg-error "initializer-string for 'const u8_char_t \\\[2]' {aka 'const
\(char|char8_t\)
\\\[2]'} is too long" }
const
u8_char_t
u3
[
3
]
=
u8"\u2160."
;
// { dg-error "initializer-string for 'const u8_char_t \\\[3]' {aka 'const
char
\\\[3]'} is too long" }
const
u8_char_t
u3
[
3
]
=
u8"\u2160."
;
// { dg-error "initializer-string for 'const u8_char_t \\\[3]' {aka 'const
\(char|char8_t\)
\\\[3]'} is too long" }
const
u8_char_t
u4
[
4
]
=
u8"\u2160."
;
// { dg-error "initializer-string for 'const u8_char_t \\\[4]' {aka 'const
char
\\\[4]'} is too long" }
const
u8_char_t
u4
[
4
]
=
u8"\u2160."
;
// { dg-error "initializer-string for 'const u8_char_t \\\[4]' {aka 'const
\(char|char8_t\)
\\\[4]'} is too long" }
const
u8_char_t
u5
[
5
]
=
u8"\u2160."
;
const
u8_char_t
u5
[
5
]
=
u8"\u2160."
;
const
u8_char_t
u6
[
6
]
=
u8"\u2160."
;
const
u8_char_t
u6
[
6
]
=
u8"\u2160."
;
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