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
0d60c2e7
Commit
0d60c2e7
authored
Aug 18, 2000
by
Joseph Myers
Committed by
Joseph Myers
Aug 18, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.dg/format-va-1.c: New test.
From-SVN: r35786
parent
e825bf4a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/format-va-1.c
+13
-0
No files found.
gcc/testsuite/ChangeLog
View file @
0d60c2e7
2000-08-18 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/format-va-1.c: New test.
2000-08-18 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/typedef8.C: New test.
...
...
gcc/testsuite/gcc.dg/format-va-1.c
0 → 100644
View file @
0d60c2e7
/* Test for strange warning in format checking. */
/* Origin: Joseph Myers <jsm28@cam.ac.uk> */
/* { dg-do compile } */
/* { dg-options "-Wformat" } */
extern
int
printf
(
const
char
*
,
...);
void
foo
(
void
*
p
)
{
printf
(
"%d"
,
p
);
/* { dg-bogus "va_list" "wrong type in format warning" } */
/* { dg-warning "format" "format error" { target *-*-* } 11 } */
}
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