* gcc.c-torture/compile/20000120-2.c: Use -fgnu89-inline.
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr42299.c
blob65a9bf74ffb4d745ab905950dc96c45d66a86191
1 /* { dg-options "-g" } */
3 void bar (void);
5 static int
6 foo (int x, int y)
8 if (y)
9 goto lab;
10 if (x)
11 y = 0;
12 if (y)
13 goto lab;
14 y = 0;
15 lab:
16 return y;
19 void
20 baz (int x, int y)
22 y = foo (x, y);
23 if (y != 0)
24 bar ();