Initial import
[gdb.git] / gdb / testsuite / gdb.base / jump.c
blobaae94f7e85a89b72af12a7761d29b174d981a006
1 /* This program is used to test the "jump" command. There's nothing
2 particularly deep about the functionality nor names in here.
3 */
5 #ifdef PROTOTYPES
6 static int square (int x)
7 #else
8 static int square (x)
9 int x;
10 #endif
12 return x*x;
16 int main ()
18 int i = 99;
20 i++;
21 i = square (i);
22 i--;
23 return 0;