Imported Upstream version 7.9
[platform/upstream/gdb.git] / gdb / testsuite / gdb.base / async.c
1
2
3 int
4 foo (void)
5 {
6  int y;
7  volatile int x;
8
9  x = 5; x = 5; x = 5;
10  y = 3;
11
12  return x + y;
13 }
14
15 int
16 baz (void)
17 {
18   return 5;
19 }
20
21 int
22 main (void)
23 {
24  int y, z;
25  
26  y = 2;
27  z = 9;
28  y = foo ();
29  z = y;
30  y = y + 2; /* jump here */
31  y = baz ();
32  return 0; /* until here */
33 }