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
810d4c7b
Commit
810d4c7b
authored
Sep 02, 2005
by
Andreas Schwab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move from root of repository to intented place.
From-SVN: r103796
parent
8845001b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
gcc/testsuite/gcc.dg/Wredundant-decls-2.c
+27
-0
No files found.
gcc/testsuite/gcc.dg/Wredundant-decls-2.c
0 → 100644
View file @
810d4c7b
/* Test for -Wredundant-decls warnings */
/* { dg-do compile } */
/* { dg-options "-Wredundant-decls" } */
int
j
=
5
;
/* { dg-warning "previous" } */
int
j
;
/* { dg-warning "redundant" } */
static
int
k
;
static
int
k
=
5
;
/* { dg-warning "previous" } */
static
int
k
;
/* { dg-warning "redundant" } */
static
int
l
=
5
;
/* { dg-warning "previous" } */
static
int
l
;
/* { dg-warning "redundant" } */
static
int
m
;
/* { dg-warning "previous" } */
static
int
m
;
/* { dg-warning "redundant" } */
static
int
m
=
5
;
int
n
;
/* { dg-warning "previous" } */
int
n
;
/* { dg-warning "redundant" } */
int
n
=
5
;
static
int
o
;
static
int
o
=
5
;
int
p
;
int
p
=
5
;
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