old-cross-binutils/ld/testsuite/ld-srec/sr1.c
1999-05-03 07:29:11 +00:00

25 lines
351 B
C

/* This file is compiled and linked into the S-record format. */
extern int e1;
extern int e2;
int i;
int j = 1;
static int k;
static int l = 1;
static char ab[] = "This is a string constant";
extern int fn1 ();
extern int fn2 ();
int
main ()
{
fn1 (ab);
fn2 ("static string constant");
return e1 + e2 + i + j + k + l;
}
void
__main ()
{
}