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
27eba309
Commit
27eba309
authored
Sep 20, 2002
by
Neil Booth
Committed by
Neil Booth
Sep 20, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* testsuite/gcc.dg/cpp/tr-warn2.c: Additional test.
From-SVN: r57370
parent
8f89dbf4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
gcc/ChangeLog
+1
-1
gcc/testsuite/gcc.dg/cpp/tr-warn2.c
+2
-0
No files found.
gcc/ChangeLog
View file @
27eba309
...
...
@@ -12,7 +12,7 @@
2002
-
09
-
20
Neil
Booth
<
neil
@daikokuya
.
co
.
uk
>
*
cppmacro
.
c
:
Don
'
t
warn
about
function
-
like
macros
without
'('
during
pre
-
expan
d
ion
.
'('
during
pre
-
expan
s
ion
.
2002
-
09
-
20
Jim
Wilson
<
wilson
@redhat
.
com
>
gcc/testsuite/gcc.dg/cpp/tr-warn2.c
View file @
27eba309
...
...
@@ -11,6 +11,8 @@
#define f(x) x
#define g(x) x / 2
#define h(a, b) a(b)
f
(
g
)
(
3
)
/* { dg-bogus "must be used with arguments" } */
f
2
/* { dg-warning "must be used with arguments" } */
f
(
g
)
3
/* { dg-warning "must be used with arguments" } */
h
(
f
,
3
)
/* { dg-bogus "must be used with arguments" } */
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