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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [binutils-2.20.1/] [ld/] [testsuite/] [ld-elf/] [comm1.c] - Blame information for rev 843

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

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