old-cross-binutils/ld/testsuite/ld-empic/runtest2.c

27 lines
355 B
C
Raw Normal View History

1999-05-03 07:29:11 +00:00
/* Second C source file for actual execution test. */
int k;
extern int i;
extern int j;
extern char small_buf[];
extern char *small_pointer;
extern int chkstr ();
int
bar (n)
int n;
{
int r;
if (i != 1
|| j != 0
|| ! chkstr (small_buf, 4)
|| ! chkstr (small_pointer, 4))
return k + 1;
r = k;
k = n;
return r;
}