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

Subversion Repositories open8_urisc

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

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

Line No. Rev Author Line
1 53 khays
#include <stdio.h>
2
#include <stdlib.h>
3
 
4
int foo;
5
void bar (void);
6
 
7
int
8
main ()
9
{
10
  if (foo != 0)
11
    abort ();
12
  foo = 200;
13
  bar ();
14
  if (foo == 200)
15
    printf ("PASS\n");
16
  return 0;
17
}

powered by: WebSVN 2.1.0

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