old-cross-binutils/gdb/testsuite/gdb.hp/gdb.compat/xdb.c
1999-08-16 19:57:19 +00:00

20 lines
246 B
C

#include <stdio.h>
int callee( x )
int x;
{
int y = x * x;
return (y - 2);
}
main()
{
int i;
for (i = 1; i < 10; i++)
{
printf( "%d ", callee( i ));
}
printf( " Goodbye!\n" );
}