~ubuntu-branches/ubuntu/hoary/binutils/hoary

« back to all changes in this revision

Viewing changes to ld/testsuite/ld-srec/sr1.c

  • Committer: Bazaar Package Importer
  • Author(s): James Troup
  • Date: 2004-05-19 10:35:44 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040519103544-17h3o6e8pwndydrg
Tags: 2.14.90.0.7-8
debian/rules: don't use gcc-2.95 on m68k.  Thanks to Adam Conrad for
pointing this out.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* This file is compiled and linked into the S-record format.  */
 
2
 
 
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";
 
10
 
 
11
extern int fn1 ();
 
12
extern int fn2 ();
 
13
 
 
14
int
 
15
main ()
 
16
{
 
17
  fn1 (ab);
 
18
  fn2 ("static string constant");
 
19
  return e1 + e2 + i + j + k + l;
 
20
}
 
21
 
 
22
void
 
23
__main ()
 
24
{
 
25
}