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
* gcc.dg/builtins-config.h: Disable C99 runtime testing for
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
Wunreachable-3.c
1
/* PR c/10175 */
2
/* { dg-do compile } */
3
/* { dg-options "-Wunreachable-code" } */
4
5
int i,j;
6
int main(void)
7
{
8
if (0) {
9
i = 0; /* { dg-warning "will never be executed" "" } */
10
j = 0;
11
} else {
12
i = 1;
13
j = 1;
14
}
15
16
return 0;
17
}