OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2008-08-09 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wunused-6.C
1
/* PR middle-end/14203 */
2
/* { dg-do compile } */
3
/* { dg-options "-Wall" } */
4
5
void foo()
6
{
7
if (false)
8
if (int i=0) // { dg-warning "unused" "" }
9
int j=0; // { dg-warning "unused" "" }
10
}
11