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
gcc/
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
ifelse-1.c
blob
2dd2208b01f71deaadb19b800434e0f2e59a1737
1
/*
2
{ dg-do compile }
3
{ dg-options "-W -Wall" }
4
*/
5
6
7
extern
int
bar
();
8
extern
int
com
();
9
extern
int
baz
();
10
void
11
foo
(
a
,
b
)
12
int
a
,
b
;
13
{
14
if
(
a
)
15
if
(
b
)
16
bar
();
17
else
18
com
();
/* { dg-bogus ".*warning.*" "bogus warning" } */
19
else
20
baz
();
21
}