repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
svn merge -r102224:107263 svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-3_4-branch
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
Wunreachable-6.c
blob
77b6228fc862cd1699ea4ed13bb3d1fdf0d1364f
1
/* PR c/11370 */
2
/* { dg-do compile } */
3
/* { dg-options "-Wunreachable-code" } */
4
5
int
main
(
int
argc
,
char
*
argv
[])
6
{
7
if
(
argc
!=
1
)
8
exit
(
1
);
9
10
{
11
int
ix
;
/* { dg-bogus "will never be executed" } */
12
ix
=
printf
(
"hello
\n
"
);
13
printf
(
"%d
\n
"
,
ix
);
14
}
15
16
return
0
;
17
}
18