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
2e1911bf
Commit
2e1911bf
authored
24 years ago
by
Neil Booth
Committed by
Neil Booth
24 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.dg/cpp/tr-warn1.c: Add tests.
From-SVN: r39369
parent
f000294d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/cpp/tr-warn1.c
+9
-0
No files found.
gcc/testsuite/ChangeLog
View file @
2e1911bf
2001-01-31 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/tr-warn1.c: Add tests.
2001-01-31 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/avoidpaste1.c: Update.
* gcc.dg/cpp/paste4.c: Update.
...
...
This diff is collapsed.
Click to expand it.
gcc/testsuite/gcc.dg/cpp/tr-warn1.c
View file @
2e1911bf
...
...
@@ -24,6 +24,15 @@
#assert baz(quux)
/* { dg-bogus "indented" "^ #ext" } */
# assert quux(weeble)
/* { dg-bogus "indented" "^ # ext" } */
/* We warn of #elif regardless of whether we're skipping or not, and
do not warn about indentaion. */
#if 0
#if 1
#elif 1 /* { dg-warning "#elif" "#elif skipping" } */
#endif
#elif 0
/* { dg-warning "#elif" "#elif not skipping" } */
#endif
/* { dg-warning "GCC extension" "extension warning" { target *-*-* } 22 } */
/* { dg-warning "GCC extension" "extension warning" { target *-*-* } 23 } */
/* { dg-warning "GCC extension" "extension warning" { target *-*-* } 24 } */
...
...
This diff is collapsed.
Click to expand it.
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