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-04-27 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
Wunreachable-5.c
1
/* PR c/10175 */
2
3
/* { dg-do compile } */
4
/* { dg-options "-Wunreachable-code" } */
5
6
int value;
7
8
int main(void)
9
{
10
if (0)
11
value = 0; /* { dg-warning "will never be executed" "" } */
12
else
13
value = 1;
14
15
return 0;
16
}
17