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
851c06dd
Commit
851c06dd
authored
May 20, 2002
by
Mark Mitchell
Committed by
Mark Mitchell
May 20, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* g++.dg/warn/Wshadow-1.C: Remove unncessary dg-error line.
From-SVN: r53648
parent
16861f33
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/g++.dg/warn/Wshadow-1.C
+1
-2
No files found.
gcc/testsuite/ChangeLog
View file @
851c06dd
2002-05-19 Mark Mitchell <mitchell@doubledemon.codesourcery.com>
* g++.dg/warn/Wshadow-1.C: Remove unncessary dg-error line.
2002-05-19 Andreas Jaeger <aj@suse.de>
* gcc.c-torture/execute/loop-2c.x: Remove, the test should pass
...
...
gcc/testsuite/g++.dg/warn/Wshadow-1.C
View file @
851c06dd
/* Copyright (C) 2001 Free Software Foundation, Inc. */
/* Copyright (C) 2001
, 2002
Free Software Foundation, Inc. */
/* { dg-do compile } */
/* { dg-options -Wshadow } */
...
...
@@ -30,7 +30,6 @@ void foo1 (int d)
double
d
;
// { dg-error "shadows a parameter" }
}
// { dg-error "In member function" "ignored" { target *-*-* } 0 }
void
status
::
foo2
()
{
int
member
;
// { dg-warning "shadows a member" }
...
...
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