summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/jump.c
blob: e16d0fd384d57389ad273ee020abf2a659ae1ae3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* This program is used to test the "jump" command.  There's nothing
   particularly deep about the functionality nor names in here.
   */

static int square (x)
  int  x;
{
  return x*x;
}


main ()
{
  int i = 99;

  i++;
  i = square (i);
  i--;
}