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
456bf3e3
Commit
456bf3e3
authored
Feb 28, 1999
by
Zack Weinberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor tweaks to testing harness
From-SVN: r25508
parent
6efbe835
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
gcc/testsuite/gcc.dg/cpp-if1.c
+4
-4
gcc/testsuite/gcc.dg/cpp-if2.c
+4
-4
No files found.
gcc/testsuite/gcc.dg/cpp-if1.c
View file @
456bf3e3
/* { dg-do preprocess } */
/* { dg-options "-pedantic-errors" } */
#if 0xa
=
= 10
#error
yes /* { dg-error "#error yes
" "normal conversion" } */
#if 0xa
!
= 10
#error
0xa != 10 /* { dg-bogus "#error
" "normal conversion" } */
#endif
#if 077
=
= 63
#error
yes /* { dg-error "#error yes
" "normal conversion" } */
#if 077
!
= 63
#error
077 != 63 /* { dg-bogus "#error
" "normal conversion" } */
#endif
#if 12wrt
/* { dg-error "nvalid number" "invalid number" } */
...
...
gcc/testsuite/gcc.dg/cpp-if2.c
View file @
456bf3e3
/* { dg-do preprocess } */
/* { dg-options -pedantic-errors } */
#if 'a'
== 'a' && '\001' == 1 && '\x12' =
= 0x12
#error
yes
/* { dg-error "#error yes
" "basic charconst recognition" } */
#if 'a'
!= 'a' || '\001' != 1 || '\x12' !
= 0x12
#error
a,1,0x12
/* { dg-bogus "#error
" "basic charconst recognition" } */
#endif
#if 'a'
== L'a' && L'\xfeed' =
= 0xfeed
#error
yes
/* { dg-error "#error yes
" "wide charconst recognition" } */
#if 'a'
!= L'a' || L'\xfeed' !
= 0xfeed
#error
L'a',0xfeed
/* { dg-bogus "#error
" "wide charconst recognition" } */
#endif
#if 'abcd'
/* { dg-warning "multi-character character constant" "multi-character charconst" } */
...
...
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