bfd/
[binutils.git] / ld / testsuite / ld-srec / sr1.c
blobd7de977412dd8c60192cafbd4c9246f67aa4191a
1 /* This file is compiled and linked into the S-record format. */
3 extern int e1;
4 extern int e2;
5 int i;
6 int j = 1;
7 static int k;
8 static int l = 1;
9 static char ab[] = "This is a string constant";
11 extern int fn1 ();
12 extern int fn2 ();
14 int
15 main ()
17 fn1 (ab);
18 fn2 ("static string constant");
19 return e1 + e2 + i + j + k + l;
22 void
23 __main ()