PR middle-end/27945
[official-gcc.git] / gcc / testsuite / gcc.dg / ifelse-1.c
blob2dd2208b01f71deaadb19b800434e0f2e59a1737
1 /*
2 { dg-do compile }
3 { dg-options "-W -Wall" }
4 */
7 extern int bar ();
8 extern int com ();
9 extern int baz ();
10 void
11 foo (a,b)
12 int a, b;
14 if (a)
15 if (b)
16 bar ();
17 else
18 com (); /* { dg-bogus ".*warning.*" "bogus warning" } */
19 else
20 baz ();