Fix: Null pointer dereference in ldlex.l
[binutils-gdb.git] / gdb / testsuite / gdb.base / jump.c
blob376ea172d1d8de6f70e1d44856f6727e506c1740
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 static int square (int x)
7 return x*x; /* out-of-func */
11 int main ()
13 int i = 99;
15 i++;
16 i = square (i); /* bp-on-call */
17 i--; /* bp-on-non-call */
18 return 0;