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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gdb-7.2/] [gdb/] [testsuite/] [gdb.hp/] [gdb.objdbg/] [objdbg03/] [x3.cc] - Rev 330

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

#include <stdio.h>
 
int common1;
int common2;
int common3;
static int common4;
 
int data1 = 1;
int data2 = 2;
int data3 = 3;
static int data4 = 4;
 
int foo()
{
  common1 = 1;
  common2 = 2;
  common3 = 3;
  common4 = 4;
 
  return data1 + data2 + data3 + data4 + common1 + common2 + common3 + common4;
}
 

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

powered by: WebSVN 2.1.0

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