import gdb-1999-06-28 snapshot
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / jump.c
CommitLineData
c906108c
SS
1/* This program is used to test the "jump" command. There's nothing
2 particularly deep about the functionality nor names in here.
3 */
4
085dd6e6
JM
5#ifdef PROTOTYPES
6static int square (int x)
7#else
c906108c
SS
8static int square (x)
9 int x;
085dd6e6 10#endif
c906108c
SS
11{
12 return x*x;
13}
14
15
085dd6e6 16int main ()
c906108c
SS
17{
18 int i = 99;
19
20 i++;
21 i = square (i);
22 i--;
085dd6e6 23 return 0;
c906108c 24}
This page took 0.033588 seconds and 4 git commands to generate.