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
libgo: update to Go1.10beta1
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
Wduplicated-branches-10.c
blob
8d918efcdc3a3c04d917c7a17daa44c5cbf0f860
1
/* PR c/64279 */
2
/* { dg-do compile } */
3
/* { dg-options "-Wduplicated-branches" } */
4
5
#define DEBUG(msg) ;
6
7
void
8
f
(
int
i
)
9
{
10
if
(
i
>
9
)
11
{
12
DEBUG
(
"foo"
);
13
}
14
else
15
{
16
DEBUG
(
"bar"
);
17
}
18
}