old-cross-binutils/gdb/testsuite/gdb.hp/xdb.c
1999-04-16 01:35:26 +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" );
}