2000-10-31 Philip Blundell <philb@gnu.org>
[binutils.git] / ld / testsuite / ld-empic / runtest2.c
blob000525f11ea44b6b1b7570a5cc514f4d6a7d4878
1 /* Second C source file for actual execution test. */
3 int k;
4 extern int i;
5 extern int j;
6 extern char small_buf[];
7 extern char *small_pointer;
9 extern int chkstr ();
11 int
12 bar (n)
13 int n;
15 int r;
17 if (i != 1
18 || j != 0
19 || ! chkstr (small_buf, 4)
20 || ! chkstr (small_pointer, 4))
21 return k + 1;
23 r = k;
24 k = n;
25 return r;