File: jump.c

package info (click to toggle)
insight 6.1%2Bcvs.2004.08.11-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 150,436 kB
  • ctags: 171,195
  • sloc: ansic: 1,431,500; exp: 89,955; tcl: 56,199; asm: 47,136; makefile: 42,498; sh: 27,919; yacc: 8,337; cpp: 5,534; perl: 5,281; lisp: 2,204; lex: 895; pascal: 663; awk: 443; sed: 339; objc: 134; ada: 15; java: 14; fortran: 5
file content (24 lines) | stat: -rw-r--r-- 324 bytes parent folder | download | duplicates (21)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* This program is used to test the "jump" command.  There's nothing
   particularly deep about the functionality nor names in here.
   */

#ifdef PROTOTYPES
static int square (int x)
#else
static int square (x)
  int  x;
#endif
{
  return x*x;
}


int main ()
{
  int i = 99;

  i++;
  i = square (i);
  i--;
  return 0;
}