source: trunk/binutils/ld/testsuite/ld-srec/sr1.c

Last change on this file was 10, checked in by bird, 23 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 351 bytes
Line 
1/* This file is compiled and linked into the S-record format. */
2
3extern int e1;
4extern int e2;
5int i;
6int j = 1;
7static int k;
8static int l = 1;
9static char ab[] = "This is a string constant";
10
11extern int fn1 ();
12extern int fn2 ();
13
14int
15main ()
16{
17 fn1 (ab);
18 fn2 ("static string constant");
19 return e1 + e2 + i + j + k + l;
20}
21
22void
23__main ()
24{
25}
Note: See TracBrowser for help on using the repository browser.