OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [ld/] [testsuite/] [ld-elf/] [dl2main.c] - Blame information for rev 117

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 53 khays
#include <stdio.h>
2
 
3
extern int foo;
4
extern void bar (void);
5
 
6
void
7
xxx (void)
8
{
9
  printf ("MAIN\n");
10
}
11
 
12
int
13
main (void)
14
{
15
  foo = 1;
16
  bar ();
17
  if (foo == -1)
18
    printf ("OK1\n");
19
  else if (foo == 1)
20
    printf ("OK2\n");
21
  return 0;
22
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.