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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [testsuite/] [ld-elf/] [dl2main.c] - Blame information for rev 866

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

Line No. Rev Author Line
1 38 julius
#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.