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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 38 julius
#include <stdio.h>
2
 
3
int bar = 10;
4
 
5
void
6
foo (void)
7
{
8
  if (bar == 10)
9
    printf ("bar is in DSO.\n");
10
  else if (bar == -20)
11
    printf ("bar is in main.\n");
12
  else
13
    printf ("FAIL\n");
14
}

powered by: WebSVN 2.1.0

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